【问题标题】:Drag and drop onto Flex AdvancedDataGrid拖放到 Flex AdvancedDataGrid
【发布时间】:2009-09-14 20:03:02
【问题描述】:

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

【问题讨论】:

    标签: apache-flex drag-and-drop 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
    

    应该有你的专栏。

    这有帮助吗?

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2011-07-08
      • 2010-12-15
      • 2011-12-25
      • 2011-08-05
      • 2011-04-07
      • 2011-09-19
      相关资源
      最近更新 更多