本帖最后由 showbo 于 2014-10-23 16:53:15 编辑

解决方案 »

  1.   

    不知道问的什么。。要合并单元格参考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'
    });