search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Scheduler Persist row (resource) moving

Asked by Jan
1 year ago.

Hi everybody
any of you have experience row/resource moving with some degree of persisting the new order (cookie, back-end profile...)?
Help would be much appreciated.
Greetings, Jan

Answer posted by Dan Letecky [DayPilot]
1 year ago.

You can take a look at the following tutorial to see how to handle row moving and persist the row order (in JavaScript/Node.js):

The order is stored using two DB field (ordinal, ordinal_priority) and the reordering is done in two steps - first the row is inserted at the specified location and then the fields are compacted (spaces in ordinal values removed, duplicate ordinal values changed, and ordinal_priority made the same).

You can find the same logic implemented in PHP in this tutorial:

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.