data-options= "required:true,editable:false,panelheight: ' Auto '" plus panelheight: ' Auto '
The case of column merging
Columns: [
[
{field: ' NJ ', title: ' Grade ', width:80, align: ' center ', Rowspan:2},
{field: ' BJ ', Title: ' Class ', width:80, align: ' center ', Rowspan:2},
{title: ' Number of students ', width:240, align: ' center ', Colspan:3},
{title: "Nation", width:160, align: "center", Colspan:2},
{title: "Account", width:160, align: "center", Colspan:2},
{title: "Lodging", width:240, align: "center", Colspan:3},
{field: "Tynumbers", Title: "League Member", WIDTH:80, align: "center", Rowspan:2}
],[
{field: ' Totalnumbers ', title: ' Number ', width:80, align: ' center '},
{field: ' Boys ', title: ' Male ', width:80, align: ' center '},
{field: ' Girls ', title: ' Female ', width:80, align: ' center '},
{field: "Han", title: "Han", width:80, align: "center"},
{field: "Ssmz", Title: "Less", width:80, align: "center"},
{field: "FN", Title: "Non-farm", width:80, align: "center"},
{field: "NY", Title: "Nong", width:80, align: "center"},
{field: "Zstotalnumbers", Title: "Number", width:80, align: "center"},
{field: "Zsboys", Title: "Male", width:80, align: "center"},
{field: "Zsgirls", Title: "Female", width:80, align: "center"}
]]
The effect is as follows: