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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Disable Summary Row ToolTip

Thread ID:

Created:

Updated:

Platform:

Replies:

64645 Jul 23,2007 08:24 PM UTC Jul 23,2007 08:44 PM UTC WinForms 2
loading
Tags: GridControl
Mehul Doshi
Asked On July 23, 2007 08:24 PM UTC

How can I disable the tooltip for a summary row?

haneefm [Syncfusion]
Replied On July 23, 2007 08:37 PM UTC

Hi Mehul,

To control the Celltooltip in the summary Cell, you need to handle the gridGroupingControl1_QueryCellStyleInfo event. Below is a code snippet

private void gridGroupingControl1_QueryCellStyleInfo(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableCellStyleInfoEventArgs e)
{
if(e.TableCellIdentity.TableCellType==GridTableCellType.SummaryFieldCell)
e.Style.CellTipText="";
}

Best regards,
Haneef

Mehul Doshi
Replied On July 23, 2007 08:44 PM UTC


Thank you Haneef. That worked.

How about if I wish to change the default tooltip to exclude one of the items shown? For instance, if I have a 'Average' summary row, it shows a tooltip of Min, Max, Count, Avg etc values...where Avg is redundant. Is there a way to keep the Min,Max,Count, but exclude Average?

Thanks again,
Mehul.

>Hi Mehul,

To control the Celltooltip in the summary Cell, you need to handle the gridGroupingControl1_QueryCellStyleInfo event. Below is a code snippet

private void gridGroupingControl1_QueryCellStyleInfo(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableCellStyleInfoEventArgs e)
{
if(e.TableCellIdentity.TableCellType==GridTableCellType.SummaryFieldCell)
e.Style.CellTipText="";
}

Best regards,
Haneef

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

;