Our pure JavaScript Scheduler component
Hi Team,
I have implemented the rowreorderfeature to interchange the rows and the events on them.
My query is does the resourceid gets changed when I move a resource from 2nd position to 1st?
'resourceId' is not a property of the row. It's a property of the event. If you move a resource row, its events will still be associated with the same row as you would expect.
understood, but when I reorder a row? does any change happen in the model of data? similar to drag drop operation?
Just the internal index field is updated.
Mats,
Will I able to post this change to the backend using crudmanager?
I want user to reorder a row and save so that backend can be updated and changes are saved?
If yes any snippet or reference
?
Yes of course, just save parentIndex field and return tasks sorted by this in your load requests.
so u mean , the same load request which populate the data for me shall be able to show the changes post sync operatuion from crudmanager?
Sorry, I don't understand your question. Have you tried saving the parentIndex task field and returning it in your load responses?
Mats, I want to design my backend logic to receive the updated changes, for that I need to know what kind of data will be sent back from the scheduler or the updated json object.
Where can I get that information?