Skip to Content
avatar image
Former Member

Expand event in sap.m.Tree

Hi Experts,

I am using sap.m.Tree in SAPUI5 for version 1.44.7.

And is there a trigger event when I click the expand arrow? I tried function, such as itemPress, selectionChange. It didn't work.

So I hope could find a event when I click the expend arrow(see pic).

Thank you so much.

BR,

Don

treenodeexpand.png (20.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Mar 28 at 03:37 AM

    Did you look here?

    https://sapui5.hana.ondemand.com/#/api/sap.m.Tree/events/toggleOpenState

    Having the api docs open is the best helper (or at least a good start )

    Add comment
    10|10000 characters needed characters exceeded

    • Hello,

      When I search for tree node, it is expanding till search node but not showing expand button even though searched tree node has children,

      How to achieve this functionality?

      Thanks,
      RK

  • Nov 02, 2017 at 04:03 PM

    Hello Don,

    Did you get a solution for this ? I don't find any event's working for sap.m.tree control.

    If you found any solution, can you please share the logic/code behind it ?

    Thanks.

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 06 at 12:10 PM

    Hello,

    When I search for tree node, it is expanding till search node but not showing expand button even though searched tree node has children,

    How to achieve this functionality?

    Thanks,
    RK

    Add comment
    10|10000 characters needed characters exceeded