开发者

Drag and drop column data to another column

In Flex, using AdvancedDataG开发者_如何学Crid, I'm trying to achieve a drag and drop of one row's column data to another row's column or the same row but different column. Is this even possible? I've been googling for hours and all I can find are drag and drop whole columns just to rearrange their view order.


You have two options to make columns draggable.

First is to make all the columns draggable in the DataGrid. You can do this using the draggableColumns property on the DataGrid class. Set its value to true.

The second is to set the draggable property on the DataGridColumn class.

In both cases, you would drag the columns using the column header.

If you want to be able to drag a single cell, there is no way to do this that I know of.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜