Apr 05, 2013, 9:48 AM
[CLOSED] How to loop through dragged records in grid
Hi
I have a grid that uses the drag drop plugin in order to change an internal position value.
So far this works fine, except that it does only work for one record.
I would like to be able to reorder more then one row at once.
This is the signature of my reordering serverside method:
I couldnt find something in the demos.
Any idea how to generate that list?
I have a grid that uses the drag drop plugin in order to change an internal position value.
So far this works fine, except that it does only work for one record.
I would like to be able to reorder more then one row at once.
This is the signature of my reordering serverside method:
<Drop Handler="App.direct.ChangePosition(dropPosition,overModel.get('Position'),data.records[0].get('Id'))" />
Instead of data.records[0].get('Id'), I would need a list of all 'dragged' Ids that I can pass as a parameterI couldnt find something in the demos.
Any idea how to generate that list?
Last edited by Daniil; Apr 09, 2013 at 4:12 AM.
Reason: [CLOSED]