Hi,
I am sorting like
OCGantt.sortGrid = function (column1){
if (Gantt.sortDirection){
gantt.sort(column1, false);
$(".gantt_grid_head_"+column1+" .fa-sort-asc").addClass("activated");
} else {
gantt.sort(column1, true);
$(".gantt_grid_head_"+column1+" .fa-sort-desc").addClass("activated");
}
Gantt.sortDirection = !Gantt.sortDirection;
};
Where column1 is the column by which is sorted. Now I am trying to get rid of the column sorting. I tried gatt.parse(arr) followed by gantt.render(), but the sort stays. How can I get rid of the sorting after letting the user clicking a button?
Thx!
Andy