[SOLVED] [1.0] RadioGroup and CheckGroup
New Community Forums available at http://forums.ext.net
 

Coolite Forums

Welcome Guest ( Login | Register )
 
[SOLVED] [1.0] RadioGroup and CheckGroup
Subscribe
Last Login: 6/17/2010 4:30:38 PM
Posts: 1,239,
Posted 3/6/2010 11:25:46 AM

Group: Coolite Premium Member & Early Adopter
Hello,

Would it be possible fire the Change event on load when this renders instead of only when it changes (user interaction)? Would be EXTREMELY useful for when you are binding from a Model.

I would suspect making it work like the ComboBox FireSelectOnLoad would be brilliant -- and of course I would love both of you for ages

<ext:RadioGroup runat="server" ColumnsNumber="2" Width="100">
<Listeners>
<Change Handler="alert('Checked'); />
</Listeners>
<Items>
<ext:Radio ID="Radio1" runat="server" BoxLabel="Yes" Checked="true" />
<ext:Radio ID="Radio2" runat="server" BoxLabel="No" />
</Items>
</ext:RadioGroup>

Cheers,
Timothy


----
Timothy Grant Vogelsang
tvogelsang [at] esolutionsgroup [dot] ca
Project Manager / Senior Software Developer
Microsoft .NET Framework 3.5
Coolite Toolkit 1.0

Last Login: 7/5/2010 10:10:13 AM
Posts: 7,853,
Posted 3/8/2010 12:54:46 AM

Group: Core Development Team
Hi,

Well, you can just add the following listener to the group
<Render Handler="this.fireChecked();" />
 

--
Vladimir Shcheglov
Coolite Inc.
Development Team
Forum Guidelines | Coolite Examples | Coolite API Docs | ExtJS API Docs | Twitter
Last Login: 6/17/2010 4:30:38 PM
Posts: 1,239,
Posted 3/8/2010 5:58:57 AM

Group: Coolite Premium Member & Early Adopter
Thanks vladsch, would be nice to eventually have a property to automatically fire that, saves writing a bunch of listeners around

Cheers


----
Timothy Grant Vogelsang
tvogelsang [at] esolutionsgroup [dot] ca
Project Manager / Senior Software Developer
Microsoft .NET Framework 3.5
Coolite Toolkit 1.0

Last Login: 7/8/2010 1:50:34 AM
Posts: 4,722,
Posted 3/11/2010 11:34:01 AM

Group: Core Development Team
Hi Timothy,

We're going to add this functionality to auto fire the event on load. The change should be committed soon. We'll post an update once the code hits svn.

Thanks for the suggestion.

--
Geoffrey McGill
Coolite Inc.
Development Team
Skype : geoffrey.mcgill
Forum Guidelines | Coolite Examples | Coolite API Docs | ExtJS API Docs | Twitter
Last Login: 6/17/2010 4:30:38 PM
Posts: 1,239,
Posted 3/11/2010 11:46:26 AM

Group: Coolite Premium Member & Early Adopter
Thanks Geoffrey!


----
Timothy Grant Vogelsang
tvogelsang [at] esolutionsgroup [dot] ca
Project Manager / Senior Software Developer
Microsoft .NET Framework 3.5
Coolite Toolkit 1.0

Last Login: 7/5/2010 10:10:13 AM
Posts: 7,853,
Posted 3/12/2010 3:38:04 AM

Group: Core Development Team
Hi,

New FireChangeOnLoad property has been added. Please update from SVN

--
Vladimir Shcheglov
Coolite Inc.
Development Team
Forum Guidelines | Coolite Examples | Coolite API Docs | ExtJS API Docs | Twitter
« Prev Topic | Next Topic »
Reading This Topic
Active Users: 0 ( 0 guests, 0 members, 0 anonymous members )
No members currently viewing this topic.
All times are GMT -5:00, Time now is 8:45pm