cancel
Showing results for 
Search instead for 
Did you mean: 

Node selection in sap.m.tree

dirk_wieczorek
Participant
0 Kudos

I have to exchanged an

oTree = new sap.ui.commons.Tree("tree");

with

oTree = new sap.m.Tree("tree").

It works problem is that the sap.ui.commons Tree has the events:

select(oControlEvent)Event is fired when a tree node is selected. selectionChange(oControlEvent)fired when the selection of the tree has been changed

which sap.m.tree is lacking. Is it possible to select a node in in Sap.m.tree like

in the common variant? If so how can one implement that event? If no is there another
tree control instead of m.tree that should be used?

Regards.

Dirk

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

please provide solution

former_member193947
Participant
0 Kudos

Events associated with sap.m.tree are not working. We have 1.44.x version of UI5 library.

Since sap.ui.commons library is also depreciated, only choice for tree is sap.m.tree

Anybody facing similar issue and found a way to solve it ?

Thanks.

former_member365727
Active Contributor
0 Kudos

sap.m.Tree also has these events.

In documnetation these will be part of sap.m.ListBase as sap.m.Tree is subclass of ListBase