Flex DataGrid,行组标题
我正在尝试扩展 DataGrid 以允许不同行组的标题。但是,我无法弄清楚从 DataGrid 扩展哪种方法可以让我完成此任务。
我不希望将标题包含在 dataProvider 中,只包含行。我想指定索引以使用自定义数据网格的属性插入标题。
这是一个快速的 Photoshop 展示了我正在尝试做的事情: 示例 http://www.maclema.com/groupheaders.png
是否已有自定义组件建的可以做到这一点吗?
如果没有,有谁知道我该怎么做?
谢谢,
马特
I am trying to extend the DataGrid to allow headers for different groups of rows. However, I cannot figure out which method to extend from DataGrid that would allow me to accomplish this.
I do not want the headers to be included in the dataProvider, only the rows. I want to specify indexes to insert the headers at using a property of the custom datagrid.
Here is a quick photoshop showing what I am trying to do:
Example http://www.maclema.com/groupheaders.png
Is there any custom component already built that will do this?
If not, does anyone know how I would go about doing this?
Thanks,
Matt
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可能想查看此组件:
http://code.google.com/p/flex-spreadsheet/
You might want to check out this component:
http://code.google.com/p/flex-spreadsheet/
我刚刚发现的解决此类问题的另一个解决方案是
以下演示:
http://blogs.adobe.com/aharui/SplitColumns/dg.swf
这是讨论:
http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1。 html
Another solution that I just found to this type of problem is the following
here is the demo:
http://blogs.adobe.com/aharui/SplitColumns/dg.swf
here is the discussion:
http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1.html