【问题标题】:Flex DataGrid, Row Group HeadersFlex DataGrid,行组标题
【发布时间】:2009-10-27 20:29:18
【问题描述】:

我正在尝试扩展 DataGrid 以允许不同行组的标题。但是,我不知道从 DataGrid 扩展哪种方法可以让我完成此任务。

我不希望标题包含在 dataProvider 中,只包含行。我想指定索引以使用自定义数据网格的属性插入标题。

这是一个快速的 Photoshop,显示了我正在尝试做的事情: Example http://www.maclema.com/groupheaders.png

是否有任何已经构建的自定义组件可以做到这一点?

如果没有,有人知道我会怎么做吗?

谢谢,

马特

【问题讨论】:

  • 您找到解决方案了吗?
  • 不,我只是最终使用了 VBox 和 DataGrids 的组合,并接近了我所需要的。

标签: apache-flex actionscript-3 custom-component


【解决方案1】:

您可能想查看此组件: http://code.google.com/p/flex-spreadsheet/

【讨论】:

    【解决方案2】:

    我刚刚发现的针对此类问题的另一种解决方案如下

    这里是演示:
    http://blogs.adobe.com/aharui/SplitColumns/dg.swf

    这里是讨论:
    http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1.html

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-07-06
      • 2011-01-21
      • 2011-11-12
      • 2012-11-07
      • 1970-01-01
      • 2011-04-01
      • 2010-12-27
      • 2011-01-31
      相关资源
      最近更新 更多