cancel
Showing results for 
Search instead for 
Did you mean: 

Tree - select a node by id programatically

markus_reich
Participant
0 Kudos

Hi,

I use a sap.ui.commons.Tree in my application, now I want to select / mark a certain node. The problem is that I doesn't have the node just the node's id? Is there a better way than iterating throught the whole tree and checking hard which id matches? There's a function tree.getNodeByContext, but I have no idea how to use it?

regards

Meex

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Meex,

I'm trying to solve the same problem right now. Did you ever get a reply to this query?

Cheers,

Divya