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.
Up arrow icon