我的网格视图类似于:
12- CategoryA - other columns 13- CategoryA - other columns 14- CategoryA - other columns 15- CategoryA - other columns 16- CategoryB - other columns 17- CategoryB - other columns 18- CategoryB - other columns
我想要的是这样的:
CategoryA (colspan 2)
12 - other columns
13 - other columns
14 - other columns
15 - other columns
Category B (colspan 2)
16 - other columns
17 - other columns
18 - other columns
我可以通过修改我绑定为数据源的数据表来做到这一点吗?还是有更简单的方法?