Apr 05, 2013, 1:08 PM
[CLOSED] How to disallow grid drag drop if different groups are selected / disallow dropping in other group
Hello.
I have a grid with a drag drop plugin that allows to reorder rows in order to change internal position values.
This works fine so far but currently I'm stuck at two additional requirements caused by grouping.
1. The user should not be able to drag rows if he has selected rows from different groups
If it is not possible to block the dragging, at least the user should not be able to drop them anywhere
2. The user should not be able to drop the record into a different group
I have these problems because the grid itself is a valid drop element, therefore I can drag drop them among different groups.
Any idea how I could solve that problem?
I have a grid with a drag drop plugin that allows to reorder rows in order to change internal position values.
This works fine so far but currently I'm stuck at two additional requirements caused by grouping.
1. The user should not be able to drag rows if he has selected rows from different groups
If it is not possible to block the dragging, at least the user should not be able to drop them anywhere
2. The user should not be able to drop the record into a different group
I have these problems because the grid itself is a valid drop element, therefore I can drag drop them among different groups.
Any idea how I could solve that problem?
Last edited by Daniil; Apr 11, 2013 at 4:24 PM.
Reason: [CLOSED]