OammieR
OammieR

Reputation: 2850

dijit.Tree : Handler expand/collapse event

In my APP. Need to use Lazy Loading, so I have to handler the expand event.

I'm using dijit.Tree on Dojo library. In the document API doesn't have onCollapse/onExpand event.

I have tried to handler onClick event, The event was fired but not well at all, because on click at collapse symbol, Nothing happens.

enter image description here

Have any idea to handler that event ?

Upvotes: 0

Views: 1842

Answers (1)

maialithar
maialithar

Reputation: 3123

I believe onOpen event might be what you are looking for. Check also this thread.

Upvotes: 2

Related Questions