Header Events

Hi,

How can I get the Header Events??

example… Instead of sorting the data when you click the header, I need to do something else… besides the sorting…
I don’t know what to attach…
examples please!!

Thanks in advance

Please find custom sorting tutorial here docs.dhtmlx.com/doku.php?id=dhtm … om_sorting

thank you so much!

I used this function to fulfill my needs

grid.attachEvent(“onBeforeSorting”,function(ind,type,direction){
if (ind == some1){ // if sorting for a problematic column
this.sortRows(some2,type,direction); // sort grid by the column with prepared values
this.setSortImgState(true,ind,direction); // set a correct sorting image
return false; // block default sorting
}
return true;
});

I didn’t see it before… sorry, but thanks