Ext.grid.GroupingGrid分组表格就是在普通表格的基础上,根据某一列的数据将表格中的数据分组显示的表格的控件。
var cm = [
{header:'编号',dataIndex:'id',name:'id'},
{header:'性别',dataIndex:'sex',name:'sex'},
{header:'名称',dataIndex:'name',name:'name' },
{header:'描述',dataIndex:'descn',name:'descn'}
];
var data = [
['1','male','name1','descn1'],
['2','female','name2','descn2'],
['3','male','name3','descn3'],
['4','female','name4','descn4'],
['5','male','name5','descn5