Hi all,
We would like to apply a default sort to the gantt chart when the control/page loads for the first time e.g.
sortSettings: {
columns: [{field: 'startDate', direction: 'Ascending'}, {
field: 'endDate',
direction: 'Ascending'
}]
},
Once the control is loaded, we would like to remove the sorting (reason is that our gantt's contain many tasks and they keep jumping around or out of the focus of the screen when dates are changed etc).
We have tried the following, but it refreshes the order of the tasks after the removeSortColumn() are called:
mounted() {
let vm = this;
vm.ganttObj.removeSortColumn("startDate");
vm.ganttObj.removeSortColumn("endDate");
Is there a way to load the gantt with an initial sort and then remove it without losing this ordering?
Thanks