Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/apache-flex/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache flex 拖放到Flex AdvancedDataGrid上_Apache Flex_Drag And Drop_Advanceddatagrid - Fatal编程技术网

Apache flex 拖放到Flex AdvancedDataGrid上

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

我如何确定我刚刚加入的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
应该有你的专栏

这有用吗