TreeGrid - Event which is fired when row is collapsed

Hello everyone,

I am looking for an event which is fired when the user collapses a row in the TreeGrid. There are tons of events which are fired by the grid on row expanding, but I can’t find any on closing ? That can’t be…

Which event can I use for this? I really need a solution for that problem, it is very important for me to find such an event, otherwise it would be a total showstopper.

You may try to use the onOpenStart/onOpernEnd events.
Each of them occurs when the tow is expanded AND when it’s collapsed:
docs.dhtmlx.com/3.6/doku.php?id= … _onopenend
docs.dhtmlx.com/3.6/doku.php?id= … nopenstart

Please, check the second attribute of the events.

Thanks, that worked for me!