Gantt doesn't send SortOrder to the backend


#1

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


#2

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.