We have large trees that contains multiple levels like:
Root
Item 1
Item1-A
Item1-B
Item 2
Item2-A
Item2-B
The children are loaded dynamically using the onselect event for the item, so using the above example, Item1-A has children, but they have not yet been loaded when the tree is created. Item1-A will display with the expand arrow.
Clicking on the Item1-A (text in the tree), expands to show the children, however when clicking on the expand arrow next to Item1-A, the expand arrow disappears, the Item1-A text is selected, but the onselect event is not fired so the children are not displayed.
We don't want to load the next level children (which does resolve the problem) due to performance requirements.
Is there any way we can either
a) Disable the expand arrow action (i.e. we are happy if the user consistently just clicks on the item text and the expand arrow is for display only)
or
b) Fire a select event when clicking on the expand arrow so that it performs the same action as clicking on the text in the tree.
Thanks.