表格:合併儲存格
參考範例:合併儲存格
呼叫方法:margeCells。如下程式碼:
grid.on("load"load" );
function onLoad(e) {
var grid = e.sender;
var marges = [
{ rowIndex: 1, columnIndex: 0, rowSpan: 1, colSpan:Index: 0, rowSpan: 2 },
{ rowIndex: 3, columnIndex: 0, rowSpan: 4, colSpan: 3 }
];
grid.margeCells(marges);