【问题标题】:Programmatically set edited cell on Spark Datagrid在 Spark Datagrid 上以编程方式设置编辑单元格
【发布时间】:2011-10-12 00:39:51
【问题描述】:

对于 Spark 数据网格,editedItemPosition 的等价物是什么?

【问题讨论】:

    标签: apache-flex datagrid actionscript flex-spark


    【解决方案1】:

    以编程方式设置编辑单元格

    dataGrid.startItemEditorSession(rowIndex, columnIndex)
    

    检索编辑单元格

    dataGrid.editorColumnIndex
    dataGrid.editorRowIndex
    

    更多详情:http://help.adobe.com/en_US/flex/using/WS0ab2a460655f2dc3-427f401412c60d04dca-7ff3.html

    【讨论】:

      【解决方案2】:

      试试这些属性:

      editorColumnIndex="0"
      editorRowIndex="0"
      

      【讨论】:

      • 他没有指定他需要设置属性(这只是一个句子问题)-如果他澄清他需要然后可以建议一个新的解决方案。
      猜你喜欢
      • 2010-12-10
      • 1970-01-01
      • 2011-02-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-04-22
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多