Category / Section
How to customize the Group Caption Text?
1 min read
In GridDataControl, you can customize the group caption text by using GroupCaptionText API.
GroupCaptionText in GridDataControl is set based on the following three values.
XAML
<syncfusion:GridDataControl x:Name="SyncGrid" AllowDrop="True" AutoPopulateColumns="False" GroupCaptionText="'{ColumnName}- {Key}'" ItemsSource="{Binding GDCSource}" ShowAddNewRow="False" ShowFilterBar="False" ShowGroupDropArea="True">
The following screen shot shows the output for the above code in the “GridDataControl”.