Are there anything samples for saving data(drag rows in datatable) on the serverside in documentation?
Drag-n-drop can be handled in two ways
-
either catching related dnd events and updating corresponding items. Sample: http://docs.webix.com/samples/40_serverside/01_php_vanila/03_datatable_reordering.html
-
or adding trackmove property to the component’s DataProcessor. Sample: http://docs.webix.com/samples/14_dataprocessor/04_tree.html
Thanks,
I added trackmove property to the DataProcessor, data for moving rows is sending. but state of rows doesn’t saving. maybe i will write own code for this operation?
trackMove helps catching the moment data was reordered in the component and sends the necessary info to server. So serverside (or client-side) code should be tuned in order that state is really changed. Maybe, the onBeforeDataSend event will be useful for you.