DHTMLX Docs & Samples Explorer

onHeaderClick Event

Required library edition: This method requires Professional Edition of the DHTMLX library

This event occurs right after a header was clicked, before sorting or any other actions. onHeaderClick event passes the following parameters:

  • ind - index of the column;
  • obj - related javascript event object.
        grid.attachEvent("onHeaderClick", function(ind,obj){});