Im using free-jqgrid and trying to simply hande subgrid collapsed event (subGridRowColapsed). However it's never get triggered. I've tried jqGridSubgridRowColapsed also and same result. subGridRowExpanded works fine.
...
subGridRowColapsed: function (pID, rID) {
console.log("YES");
},
...
It's good if you post the version of free jqGrid, which you use.
In any way, free jqGrid don't support neither subGridRowColapsed
callback nor the event jqGridSubgridRowColapsed
. There are exist callbacks subGridBeforeCollapse
, subGridBeforeExpand
, subGridRowExpanded
and events jqGridSubGridBeforeCollapse
, jqGridSubGridBeforeExpand
, jqGridSubGridRowExpanded
, which can be used. See here and here as short documentation.