PDA

View Full Version : Disabled checkboxes in Ext.tree



spiderweb
7 Aug 2009, 4:06 AM
How do I make some of the checkboxes to be disabled (blur) in Ext.tree ?

Condor
7 Aug 2009, 4:12 AM
It's not supported by default. You'd have to extend TreeNodeUI to add this feature.

Or would it be acceptable to create these nodes without a checkbox (simply don't specify a checked attribute)?

spiderweb
7 Aug 2009, 4:17 AM
I'm generating the tree "on the fly", so can I use checked : null to generate tree node without checkbox?

Condor
7 Aug 2009, 4:29 AM
Yes (however, I would use checked:undefined).

spiderweb
7 Aug 2009, 4:31 AM
Thank you