We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ToolTip

Thread ID:

Created:

Updated:

Platform:

Replies:

116397 May 19,2014 06:40 AM May 22,2014 12:27 AM WPF 1
loading
Tags: SfDataGrid
Juraj Tomana
Asked On May 19, 2014 06:40 AM

Hi.

Please advice me, how to achieve that I will have for my SfDataGrid one default tooltip-template, which will show cell-value (and somewhere I will override it in GridColumn.ToolTipTemplate).

Thanks.
Regards,
Juraj

Jayapradha S [Syncfusion]
Replied On May 22, 2014 12:27 AM

Hi Juraj,

 

Thanks for contacting Syncfusion support.

 

You can set Tooltip template for Headers and Cells by using  HeaderTooltipTemplate and TooltipTemplate API  as shown in the below code snippet,

 

Code Snippet:

<syncfusion:GridTextColumn DisplayBinding="{Binding Path=CustomerID}" MappingName="CustomerID">

<syncfusion:GridTextColumn.HeaderToolTipTemplate>

<DataTemplate>

<TextBlock Text="Customer ID"/>

</DataTemplate>

</syncfusion:GridTextColumn.HeaderToolTipTemplate>

<syncfusion:GridTextColumn.ToolTipTemplate>

<DataTemplate>

<TextBlock Text="{Binding CustomerID}" />

</DataTemplate>

</syncfusion:GridTextColumn.ToolTipTemplate>

 

Please let us know if you have any queries.

 

Regards,

Jayapradha S


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;