Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#16448 closed feature (wontfix)

disable expanding tree onClick of plus sign

Reported by: skyrbe Owned by:
Priority: undecided Milestone: tbd
Component: Dijit Version: 1.7.0
Keywords: Cc:
Blocked By: Blocking:



Is it possible to make a sub directory not expand when I click on the + sign. The sub directory has children but I don't want it to be shown when I click the + sign.

Change History (2)

comment:1 Changed 7 years ago by bill

Component: GeneralDijit
Resolution: wontfix
Status: newclosed

Well, you could modify the model go getChildren() returns a zero length array in that case.

Or probably better, you could override Tree._onClick(), or _onExpandoClick(), to ignore the click event.

So, lots of ways to customize tree to do that. I don't see a need to add a specific feature to Tree for it.

Version 0, edited 7 years ago by bill (next)

comment:2 Changed 7 years ago by skyrbe

Thanks Bill!

Note: See TracTickets for help on using tickets.