当 grid 中的任务排序完成后触发
gantt.attachEvent("onAfterSort",function(field, direction, parent){ // your code here });