Opened 10 years ago

Closed 10 years ago

#14617 closed defect (invalid)

Tree view programmatic collapse not working

Reported by: ta12121 Owned by:
Priority: high Milestone: tbd
Component: Dijit Version: 1.6.1
Keywords: tree view collapse node Cc:
Blocked By: Blocking:


Programmatically collapsing a tree view node leaves the node unexpandable by mouse clicks from the user. Please see an example here: <>.

Change History (2)

comment:1 Changed 10 years ago by ta12121

I tested with 1.7.1 and the bug occurs in that version too.

comment:2 Changed 10 years ago by bill

Resolution: invalid
Status: newclosed

Thanks for the test case.

Although there's no official way to close/open a single tree node programatically, there is a way to do it:


What you are doing won't work, and isn't supposed to:


Note also that you can do tree_view.set("path", ...) to open the tree to a certain node, and select it.

Note: See TracTickets for help on using tickets.