$("#dg").datagrid({ ...... columns:[ [{field:'hbh',title:'航班号'},...,rowspan:2}, {field:'jh',title:'机号'},...,rowspan:2}, ...... {title:'经济舱'},...,colspan:2}, {title:'头等舱'},...,colspan:2}, ...... ], [{field:'xxx',title:'配发'},...}, {field:'xxx',title:'回收'},...}, {field:'xxx',title:'配发'},...}, {field:'xxx',title:'回收'},...}, ] })
这样设置抬头列设置跨行跨列应该可以实现的效果