This is a migrated thread and some comments may be shown as answers.

How to EXPAND to a subnode (from a DATAITEM)?

0 Answers 70 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Jim
Top achievements
Rank 1
Jim asked on 05 Oct 2012, 07:45 PM
I have a data item 4-ish levels deep. Need to EXPAND to and SELECT it. Tree is collapsed.
FindByUID fails because uids of dataitems do not match uids of LI's [don't know why].
FindByText presents too many options as there are multiple children with the same names.

I'm already scrolling upward dataitem to dataitem.parent() to the top. So I have those. But HOW do you get the SINGULAR LI which matches that dataitem in order to expand/select????

TreeView SHOULD have an .expand(dataitem) override which does this.

No answers yet. Maybe you can help?

Tags
TreeView
Asked by
Jim
Top achievements
Rank 1
Share this question
or