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.

Column header tooltip

Thread ID:

Created:

Updated:

Platform:

Replies:

24211 Jan 30,2005 07:12 PM Jan 31,2005 01:51 AM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On January 30, 2005 07:12 PM

Hi, I am displaying the tooltip for the column header of databoundgrid on the MouseMove event handler and using the function m_ToolTip.SetToolTip(m_ListingGrid,toolTipTxt); Tooltip is displayed but there is much of flicker.can you tell me why is this happening and how can this be avoided? Thanx Pratiksha

Administrator [Syncfusion]
Replied On January 31, 2005 01:51 AM

Try using the grid''s support for cell tips. In a GridDataBoundGrid, you can do this in a PrepareViewStyleInfo event handler.
private void gridDataBoundGrid1_PrepareViewStyleInfo(object sender, GridPrepareViewStyleInfoEventArgs e)
{
	if(e.RowIndex == 0 && e.ColIndex == 2)
	{
		e.Style.CellTipText = "Hello there";
	}
}

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.

;