Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Can a CheckBoxItem handle NULL values?

    Hi,

    is it possible to let a CheckBoxItem handle NULL values? I would expect a triple state checkbox, which does not toggle between checked and unchecked, but cycle from checked/unchecked/null.

    The NULL state would be indicated with a gray background.

    Is that possible?

    TIA!

    #2
    While I searched the SmartGWT forums for something like that already, I extended my search a bit and found something that HTML5 checkboxes would support something "indeterminate".

    https://stackoverflow.com/a/4724216

    Is something like this available in SmartGwt?

    Comment


      #3
      Hi,

      see the CheckboxItem-docs for emptyValue.

      Best regards
      Blama

      Comment


        #4
        "emptyValue" it is called!

        Makes sense :)

        Thank you!!

        Comment

        Working...