不知道问的什么。。要合并单元格参考mergeCells方法 mergeCells:Merge some cells to one cell, the options contains following properties: index: the row index. type: the row type, possible values are 'body','footer'. field: the field name. rowspan: the rowspan count to be merged. colspan: the colspan count to be merged.Code example:// merge the footer rows $('#dg').datagrid('mergeCells', { index: 1, field: 'name', colspan: 2, type: 'footer' });
mergeCells:Merge some cells to one cell, the options contains following properties:
index: the row index.
type: the row type, possible values are 'body','footer'.
field: the field name.
rowspan: the rowspan count to be merged.
colspan: the colspan count to be merged.Code example:// merge the footer rows
$('#dg').datagrid('mergeCells', {
index: 1,
field: 'name',
colspan: 2,
type: 'footer'
});