Opened 13 years ago
Closed 9 years ago
#7513 closed enhancement (fixed)
Tree: support indirect selection (aka checkbox tree)
Reported by: | David Schwartz | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | 1.8 |
Component: | Dijit | Version: | 1.1.1 |
Keywords: | ibm tree indirect selection | Cc: | Adam Peller |
Blocked By: | Blocking: |
Description
Ticket #7485 describes the notion of indirect selection. The tree widget should also support indirect selection. See the image below for an example of indirect selection within a hierarchical widget.
Attachments (2)
Change History (11)
Changed 13 years ago by
Attachment: | hiernav02.jpg added |
---|
comment:1 Changed 13 years ago by
Component: | Dijit - LnF → Dijit |
---|---|
Milestone: | tbd → 1.4 |
Owner: | set to bill |
Summary: | Tree widget should support indirect selection → Tree: support indirect selection |
comment:2 Changed 13 years ago by
Type: | defect → enhancement |
---|
comment:3 Changed 12 years ago by
Milestone: | 1.4 → 1.5 |
---|
comment:4 Changed 11 years ago by
Cc: | Adam Peller added |
---|
Changed 11 years ago by
Attachment: | tree-toggle.patch added |
---|
My quick experiment to implement this feature in a subclass. Needs more work, particularly in initializing, storing, and accessing the states. Note that the toggle boxes here are vertically aligned on the far left and would likely be implemented as image hide/show via css, but could also be a standard checkbox
comment:5 Changed 11 years ago by
Milestone: | 1.5 → future |
---|
comment:6 Changed 10 years ago by
Note that the checkboxes need to be tri-state, to indicate when some (but not all) of a parent's children are selected, see #12468.
comment:7 Changed 10 years ago by
Also see http://www.thejekels.com/blog/dojo/dijit-tree-with-multi-state-checkboxes/, although need to find out if that person has a CLA (it's not even obvious whose blog that is).
comment:8 Changed 10 years ago by
There is also an implementation from Google: http://earth-api-samples.googlecode.com/svn/trunk/demos/dom-tree/index.html. Press "Load KML or KMZ" button to see the tree.
Though checkboxes there have only 2 states.
comment:9 Changed 9 years ago by
Milestone: | future → 1.8 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Summary: | Tree: support indirect selection → Tree: support indirect selection (aka checkbox tree) |
Peter Jekel has checked in such a Tree as a separate project, at https://github.com/pjekel/cbtree. So closing this ticket.
See also his demo at http://www.thejekels.com/cbtree/demos/ and his blog post http://www.thejekels.com/blog/featured/the-new-dijit-checkbox-tree/. Report issues at https://github.com/pjekel/cbtree/issues.
bumping 1.4 tickets to 1.5, and most 1.3 tickets to 1.4