Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-971

Add the ability to have tri-state checkboxes in ListView

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.4
    • Fix Version/s: 2.1
    • Component/s: wtk, wtk-terra
    • Labels:
    • Environment:
      All

      Description

      For one place in our application, a ListView is used along with checkboxes, but it seems like it would be good to be able to use tri-state checkboxes here, such that a mixed state could be indicated for some entries. But, then the question becomes: if the checkbox is mixed, is it checked or not? Two thoughts on that:
      1. Add a method to get the checkbox state for all items, so you can check yourself if they are checked, unchecked or mixed.
      2. Add a property "mixedAreChecked", which if set true (default false) would make the mixed state entries show up as checked.

      Also, how do you set the "mixed" state for an item? Not sure about that yet.

      Altogether: lots of implications throughout the code to support this feature.

        Attachments

        1. listview.diffs
          50 kB
          Roger Whitcomb
        2. tri-state listview.png
          12 kB
          Roger Whitcomb

          Activity

            People

            • Assignee:
              rwhitcomb Roger Whitcomb
              Reporter:
              rwhitcomb Roger Whitcomb
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: