Posted 10 December 2019, 10:50 pm EST
Hi all,
using C1.WPF.DataGrid.4.dll (version v4.0.30319) in WPF:
when Column.Header is set to FrameWork Element like this:
<Grid>
<TextBlock Text="(Binding ..}">
<TextBox >
<Grid>
i can see, that Datagrid Column Header is ok (label and textbox is shown correctly), but when column is dropped in a GroupingPanel (ShowGroupingPanel=“True”), you can see that label is empty
It seems like in Header object is supported just string or TextBlock framework element fo Grouping Panel …
May i ask you for any wokraround or idea, how to solve it?
what about this? but I have no template for DataGridGroupColumnHeaderPresenter…
<c1:C1DataGrid.GroupColumnHeaderStyle>
<Style TargetType="c1:DataGridGroupColumnHeaderPresenter">
<Setter Property="Background" Value="Aquamarine" />
<Setter Property="Template" >
<Setter.Value>
<ControlTemplate TargetType="c1:DataGridGroupColumnHeaderPresenter">
<!-- put template code here -->
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</c1:C1DataGrid.GroupColumnHeaderStyle>
Thanks
Jan