Required library edition:
This event occurs right after a header was clicked, before sorting or any other actions. onHeaderClick event passes the following parameters:
grid.attachEvent("onHeaderClick", function(ind,obj){});