I am trying to use this example as shown HERE in JSFIDDLE, the problem i am having is that I would like when dropping to squeeze the new record in between and not swap. I tried adding a for loop in the drop function that increases the destination record if the target is less than that one or decreases it if the target is more than the destination.
The problem is that I am ending up with repeated positions like 4,4 or 5, 5, 5. Are there any examples of Kendo UI that i can use with this functionality?, instead of swaping?.
id text position 1 world 1 2 cup 2 3 Brazil 3 4 2014 4 5 Soccer 5
If i move record 4 to the top i would like to
id text position 4 2014 1 1 World 2 2 Cup 3 3 Brazil 4 5 Soccer 5
I would appreciate if anyone could point me in the right direction.