EasyUI Datagrid 自定义列、Foolter及单元格编辑

时间:2022-02-19 23:14:45

1自定义列,包括 Group

var head1Array = []; 

head1Array.push({ field: 'Id', title: 'xxxx', rowspan: 2 }); 
head1Array.push({ title: 'yyyy', colspan: 4 }); 
var head2Array = []; 
//.each(units,function(i,unit)//colArray.push(field:Id,title:unit.Name);//);head2Array.push(field:Id,title:111);head2Array.push(field:Id,title:222);head2Array.push(field:Id,title:333);head2Array.push(field