Categories | Question details Back To List | ||
Drag and Drop in same grid - need to change Row ID to match new location I'm working on a fairly simple grid and I need the user to be able to drag a single row to any location on the grid. I also need to be able to pull the order of all the rows as they appear on the screen after the drag and drop has been done. So far I've been frustrated with this, and after looking into the documentation and here in the knowledgebase, I'm a little confused as to how the grid relates to Row Id numbers, Row Index Numbers, and how I can re-number the IDs to match the order they appear on screen after the drag and drop. Thanks. Answer posted by dhxSupport on Apr 15, 2009 08:37 The only way to save row's order after drag-n-drop - serialize grid. Grid serialization is a part of PRO version. You can see example here http://dhtmlx.com/docs/products/dhtmlxGrid/samples/serialization/pro_serialize.html |