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. Image for the cookie policy date
close icon

Disable Summary Row ToolTip

How can I disable the tooltip for a summary row?

2 Replies

HA haneefm Syncfusion Team 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


MD Mehul Doshi 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

Loader.
Live Chat Icon For mobile
Up arrow icon