jqgrid group expand/collapse event

2.7k views Asked by At

Is there an event that is fired from jqGrid to notify that a certain group is expanded or collapsed? I have searched in the internet and I found there is an event for treeGrid but not sure about jqGrid. I wonder if jqGrid has one so we can know if user is expanding / collapsing certain group by listening to that event.

Thanks!

1

There are 1 answers

2
Oleg On BEST ANSWER

There are exist callback onClickGroup starting with jqGrid 4.0.0 (see here) and jQuery Event jqGridGroupingClickGroup starting with 4.3.2. The parameters are hid, collapsed. See the answer and this one for the corresponding code examples.