Gantt doesn't send SortOrder to the backend

Hello everybody,

Dataprocessor doesn’t send sortorder to the backend when drag-n-drop the tasks in Gantt.

May you please help me how can I get this value in the backend?

Thank you

Hello Ali,
Did you implement sending the sort order to the server-side?
The following article describes how to do that:
https://docs.dhtmlx.com/gantt/desktop__server_side.html#storingtheorderoftasks
And here are examples for popular backend frameworks:
https://docs.dhtmlx.com/gantt/desktop__howtostart_php.html#storingtheorderoftasks
https://docs.dhtmlx.com/gantt/desktop__howtostart_php_laravel.html#storingtheorderoftasks
https://docs.dhtmlx.com/gantt/desktop__howtostart_nodejs.html#storingtheorderoftasks
https://docs.dhtmlx.com/gantt/desktop__howtostart_dotnet.html#storingtheorderoftasks
https://docs.dhtmlx.com/gantt/desktop__howtostart_ruby.html#storingtheorderoftasks

If you use PHP Slime 4 and configured everything according to our guide or the demo, storing the order of tasks doesn’t work, we are aware of that. It is not because of Gantt but because of Slim4 configuration as in Slim3 it works correctly:
https://docs.dhtmlx.com/gantt/desktop__howtostart_php.html#storingtheorderoftasks
The dev team will fix the guide in the future, but I cannot give you any ETA.

If you have a different use case, please, provide more details.

Hello Ali,
The dev team updated the guide for PHP + Slim 4, so now, the order of tasks should be saved after you reload the page:
https://docs.dhtmlx.com/gantt/desktop__howtostart_php_slim4.html#storingtheorderoftasks

Here is the link to the updated demo: