WPF datagrid column heading span more than once column

后端 未结 6 583
轮回少年
轮回少年 2020-12-30 17:14

In a WPF datagrid is it possible to group column headings?

What I\'m after is

| Column 1 | Column 2 | Column 3|
| a  b  c  | a  b  c  | a  b  c |
|          


        
6条回答
  •  鱼传尺愫
    2020-12-30 17:32

    You might be better off removing the column headers and adding in your own outside the grid. There is a good post here that shows how to make a "header" that spans multiple columns.

提交回复
热议问题