PDA

View Full Version : Radios/Checkboxes not working



n3rd
27 Nov 2007, 4:51 AM
I'm fairly new to Ext, but thanks to the excellent API I didn't really have much trouble yet. The radio buttons and checkboxes, however, are driving me nuts.

For one thing, there appears to be no skinning (a quick look at resources/images supports this thesis). However, I find it hard to believe that Ext resorts to those ugly standard components.

Secondly, the API suggests the use of applyTo to "attach" the Ext component to an existing checkbox. But no such method exists (there is applyToMarkup, but I've no clue what that's for).

What am I missing?


Edit: Chose a misleading title... sorry about that

n3rd
27 Nov 2007, 7:38 AM
shameless bump

heidtmare
27 Nov 2007, 7:40 AM
applyTo is a property you assign upon creation, not a function


Ext.form.Checkbox( {applyTo:'id-of-thing-to-apply-to'} )