View Full Version : checkbox third state

8 Jun 2012, 4:13 AM
a third state (in checkbox) is checked but greyed, usually meaning not all of its childrens are checked, or "its not fully checked"

looking at the image.gif where checkboxes are drawn in ExtJs saw a third checkbox state, thats checked but greyed.
its in ExtJs folder, in default theme

guessing if its there, theres some code that uses it :d
can i set a checkbox to have that third state in ExtJs ? particulary checkbox in trees.

8 Jun 2012, 10:15 AM
Here's an example of a user extension to support tri-state checkboxes: Ext.ux.form.TriCheckbox (http://www.sencha.com/forum/showthread.php?138664-Ext.ux.form.TriCheckbox)

(Disclaimer: I haven't actually tried it myself, so I can't vouch for how well it works.)