0

Can we have indeterminate checkboxes in ExtJS as it's possible in native HTML? I mean something like:

Different checkbox states

All I could find are a couple of outdated extensions, and forum posts suggest that this isn't (yet) possible without subclassing the standard framework checkbox or creating a custom component.

GOTO 0
  • 42,323
  • 22
  • 125
  • 158
  • `You can't make a checkbox indeterminate through HTML by design`. For Ext, there also is no way. You would have to subclass the standard framework, I'd guess six to ten lines own code are necessary for the UI; and then you would have to add indeterminateValue config option and return the correct value whenever the checkbox is set to indeterminate, which will be more of an issue because there are so many ways to retrieve the value of a checkbox. – Alexander Sep 05 '14 at 09:45
  • There's an extension for ExtJS 2 I think, you can find it here http://www.sencha.com/forum/showthread.php?28096-2.x-Tri-state-checkbox-and-themed-checkbox-and-radio. If you're using a newer version of ExtJS you may want to take a look at it anyway so you can build one yourself – martskins Sep 05 '14 at 12:21

1 Answers1

0

Tri State Check boxes are discussed here . THe answer is for Ext 2.* . This link was added Tri State CHeck box is also here

A walk through of the plugin is on this private website

Akin Okegbile
  • 1,108
  • 19
  • 36