Hi Juraj,
You can achieve your requirement by setting HeaderToolTipTemplate for that particular column. Please refer the following code snippet
<syncfusion:SfDataGrid.Columns> <syncfusion:GridTextColumn MappingName="Id"> <syncfusion:GridTextColumn.HeaderToolTipTemplate> <DataTemplate> <TextBlock Text="order id" TextWrapping="Wrap"/> </DataTemplate> </syncfusion:GridTextColumn.HeaderToolTipTemplate> </syncfusion:GridTextColumn> </syncfusion:SfDataGrid.Columns> |
Please let us know if you require further assistance
Thanks,
Ashok
<syncfusion:SfDataGrid x:Name="sfdatagrid"
ItemsSource="{Binding YearlySalesDetails}" >
<syncfusion:SfDataGrid.Columns>
<syncfusion:GridTextColumn MappingName="Name" HeaderText="Name of customer" ShowHeaderToolTip="True"/>
</syncfusion:SfDataGrid.Columns>
</syncfusion:SfDataGrid> |
<syncfusion:GridNumericColumn MappingName="QS2" HeaderText="Quarterly 2" ShowHeaderToolTip="True">
<syncfusion:GridNumericColumn.HeaderToolTipTemplate>
<DataTemplate>
<TextBlock Text="{Binding MappingName}"/>
</DataTemplate>
</syncfusion:GridNumericColumn.HeaderToolTipTemplate>
</syncfusion:GridNumericColumn> |