fires when the user clicks on the grid's header
name | string | the name attribute of the column which header the user clicks on |
e | Event | a native event object |
boolean | defines whether the default action of the event will be triggered (true) or canceled (false) |
gantt.attachEvent("onGridHeaderClick", function(name, e){
//any custom logic here
return true;
});
Returning false will cancel the default handler (adding a new task on the "plus" button click or sorting a column)
Back to top