如何在Flex Datagrid中合并单元格? [英] How do you merge cells in a Flex Datagrid?
问题描述
例如,我将需要三列:column1,column2,column3 。
所有这三个应该分组到类别单元格,行数为3 - 一个超级标题,如果你愿意的话。
谢谢,让我知道
根据Alex Harui,应该创建一个拆分标题:
http://blogs.adobe.com/aharui/2007/03/ thinking_about_item_renderers_1.html
http://blogs.adobe.com/aharui/SplitColumns/dg.swf
同样,不要试图水平合并两个单元格:try将一个单元格分解为两个单元格,并将dataRenderer分配给dataGridColumn。
Is there any way to merge cells (vertically and/or horizontally) in a datagrid? At least, for example, is there a way to show that certain datagridcolumns belong to one group.
For example, I'll take three columns: column1, column2, column3. All these three should be grouped to the Category cell with a rowspan of 3 -- a "super header" if you will.
Thanks, let me know.
This should create a Split Header according to Alex Harui:
http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1.html
http://blogs.adobe.com/aharui/SplitColumns/dg.swf
Similarly, instead of trying to merge two cells horizontally: try splitting one cell into two cells using and itemRenderer for the dataGridColumn.
这篇关于如何在Flex Datagrid中合并单元格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!