Check documentation for the latest version of dhtmlxSuite onColumnCollapse DHTMLX Docs

onColumnCollapse

the event occurs after a group of columns has been collapsed

void onColumnCollapse(number ind,boolean state);
indnumberthe index of the first column of the group
statebooleanthe state of the collapse: true - the column was collapsed, false - the column was expanded

Available only in PRO Edition

Example

mygrid.attachEvent("onColumnCollapse",function(ind,state){
    // your code here
});

Back to top