AdvancedDataGrid可以进行表头列合并,但是sdk4.0和3.5设置表头样式时存在差别。主要使用属性为AdvancedDataGridColumnGroup和groupedColumns
(一)表格代码为:sortExpertMode为true时,不显示排序按钮
<mx:AdvancedDataGrid height="100%" fontSize="12" designViewDataType="flat" sortExpertMode="true"
sortableColumns="false" dataProvider="{gridData}" width="100%"
styleName="myDataGrid" horizontalGridLines="true">
<mx:groupedColumns>
<mx:AdvancedDataGridColumn headerText="列1" dataField="indexName" id="nameCol" textAlign="left"/>
<mx:AdvancedDataGridColumn headerText="列2" dataField="indexName1" id="nameCol1" textAlign=