Columns are collapsed when using group in datagrid

后端 未结 1 1764
离开以前
离开以前 2021-02-02 01:24

I have a datagrid in which I display several objects with some columns. I added grouping to the datagrid and now it seems that it doens\'t like the colulmns with width of \'*\'

1条回答
  •  醉酒成梦
    2021-02-02 02:30

    Try to specify the GroupStyle.Panel in your DataGrid. The reason for this is the fact that the default GroupStyle.Panel (StackPanel) does not fit for the DataGrid Width "*" and the columns will collapse.

    
      
        
      
    
    

    0 讨论(0)
提交回复
热议问题