Check documentation for the latest version 6.0 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){ ... };

Parameters

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