Results 1 to 2 of 2

Thread: checkbox third state

  1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    224
    Answers
    13

    Default checkbox third state

    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
    \resources\themes\images\default\form\checkbox.gif

    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.
    thanks.

  2. #2
    Ext JS Premium Member burnnat's Avatar
    Join Date
    Jun 2011
    Posts
    418
    Answers
    42

    Default

    Here's an example of a user extension to support tri-state checkboxes: Ext.ux.form.TriCheckbox

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •