2009-09-14 116 views
1

如何确定哪些Flex AdvancedDataGrid单元格 - 行和列索引 - 我刚才放在哪里? calculateDropIndex似乎给了我行,但我如何获得列?拖放到Flex AdvancedDataGrid

回答

1

这将是一个伪代码:

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 

而且应该有你的专栏。

这有帮助吗?

+0

谢谢 - 帮了很多。 – Kwexi 2009-10-22 16:03:27