I am trying to remove the sort icon after the projects are refreshed. Right now it restores the gantt to original state but the sorting icon is not removed.
Hello Karanveer,
The easiest way to do that would be to disable the sort
config, then call the render
method. And after that, you can enable the sort
config:
https://snippet.dhtmlx.com/jjj7qbhl
Another way would be to modify the internal _sort
property, then call the render
method to repaint the changes:
https://snippet.dhtmlx.com/o1vjs9fk