Apache flex 拖放到Flex AdvancedDataGrid上
我如何确定我刚刚加入的Flex AdvancedDataGrid单元格(行和列索引)?calculateDropIndex似乎给了我行,但我如何获得列?这将是一个伪代码:Apache flex 拖放到Flex AdvancedDataGrid上,apache-flex,drag-and-drop,advanceddatagrid,Apache Flex,Drag And Drop,Advanceddatagrid,我如何确定我刚刚加入的Flex AdvancedDataGrid单元格(行和列索引)?calculateDropIndex似乎给了我行,但我如何获得列?这将是一个伪代码: on drop: get x coordinate local to that grid when dropped loop over visible grid columns while adding their widths stop when total widths is greater than x coord
on drop:
get x coordinate local to that grid when dropped
loop over visible grid columns while adding their widths
stop when total widths is greater than x coord
应该有你的专栏
这有用吗?这将是一个伪代码:
on drop:
get x coordinate local to that grid when dropped
loop over visible grid columns while adding their widths
stop when total widths is greater than x coord
应该有你的专栏
这有用吗