Skip to Content

Sap.m.tree - Events are not working

Hello,

Events associated with sap.m.tree are not working. We are using 1.44.11 UI5 library and when we tried to associate event for 'selectionChange', the event is not fired on expanding node or selecting node text or collapsing node. Also, sap.ui.commons library got depreciated, where the events were working. Few more people raised such questions in forums, but never got resolved.

If anybody have implemented events for sap.m.tree control, please share the logic/code used.

It will be of great help, if you can point some working code through frameworks like jsbin or jsfiddle.

Should we go for extending the control with custom event handling ? Or use commons library control, which got depreciated ?

Thanks.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 07, 2017 at 07:45 PM

    what events are you referring to? the sap.m.Tree control is still working (as per the url below)

    https://openui5.hana.ondemand.com/#/entity/sap.m.Tree

    some events did get deprecated but not all of them

    https://openui5.hana.ondemand.com/#/api/sap.m.Tree

    are you looking for one specifically?

    Add comment
    10|10000 characters needed characters exceeded