您好,demo是通过设置行可合并,动态增加行来处理多行表头的。能否在定义columns: [
{ binding: 'country', header: 'Country', allowMerging: true },
{ binding: 'sales', header: 'Sales', format: 'n2' },
{ binding: 'expenses', header: 'Expenses', format: 'n2' },
{ binding: 'active', header: 'Active', allowMerging: true },
]的时候,也就是在columns对象中定义多行表头? |