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.

Disable Summary Row ToolTip

Thread ID:

Created:

Updated:

Platform:

Replies:

64645 Jul 23,2007 04:24 PM Jul 23,2007 04:44 PM Windows Forms 2
loading
Tags: GridControl
Mehul Doshi
Asked On July 23, 2007 04:24 PM

How can I disable the tooltip for a summary row?

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

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 04:44 PM


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.

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.

;