occurs after clicking on header
grid.attachEvent("onHeaderClick", function(id){ this.sort({ by:id }); });