Check documentation for the latest version of dhtmlxSuite onHeaderClick DHTMLX Docs

onHeaderClick

fires right after the header has been clicked, before sorting or any other actions

void onHeaderClick(number ind,object obj);
indnumberthe index of a column
objobjectthe related javascript event object

Available only in PRO Edition

Example

grid.attachEvent("onHeaderClick", function(ind,obj){
    //your code here
});

Back to top