开发者

Move items in Ext Js Grid

开发者 https://www.devze.com 2023-04-02 04:35 出处:网络
In this sample Ext Js grid: http://dev.sencha.com/deploy/ext-4.0.2a/examples/dd/dnd_grid_to_grid.html You can drag and drop items from one grid to another, but you can\'t change the order of items in

In this sample Ext Js grid: http://dev.sencha.com/deploy/ext-4.0.2a/examples/dd/dnd_grid_to_grid.html

You can drag and drop items from one grid to another, but you can't change the order of items in the second grid.

You can drop items back and forth and order them the way you wish, but that's not an elegant way of doing it.

What needs to change in the code so that one can move items up and down on the second grid (the one on right) ?

Is it开发者_如何学运维 even possible?


All you need to do is to make dragGroup and dropGroup have identical values

0

精彩评论

暂无评论...
验证码 换一张
取 消