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.

SummaryRow: how to get rid of ToolTip

Thread ID:

Created:

Updated:

Platform:

Replies:

51433 Nov 6,2006 04:34 AM Nov 6,2006 05:23 AM Windows Forms 1
loading
Tags: GridControl
UBS
Asked On November 6, 2006 04:34 AM

Hi,
I don't want tooltip of Summary row cells, which property i have to set for it.

Thanks
VIvek

tooltip0.zip

Administrator [Syncfusion]
Replied On November 6, 2006 05:23 AM

Hi Vivek,

To remove the tooltip from the summary cell, you need to handle the QueryCellStyleInfo event and set the Style.CellTipText property to String.Empty for all summary filed cells. 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="";
}
}

Please refer to the attached sample for more details.
http://www.syncfusion.com/support/user/uploads/definingsummaries_cs.zip>definingsummaries_cs.zip

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.

;