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.

Display Tooltip on GGC cell

Thread ID:

Created:

Updated:

Platform:

Replies:

76618 Sep 16,2008 05:10 PM Nov 4,2008 12:43 AM Windows Forms 2
loading
Tags: Test Studio
Bruce Bradford
Asked On September 16, 2008 05:10 PM

Hi, is there a way to programmatically display the tooltip on a given cell?


Bruce Bradford
Replied On September 17, 2008 12:08 PM



>Hi, is there a way to programmatically display the tooltip on a given cell?



I was able to get the tooltip text associated with a cell by using:
SwfWindow("xxx").SwfObject("yyy").Object.Table.GetTableCellStyle(CInt(4), CInt(10)).CellTipText
Assuming the cell I wanted was row4 column10.

Now my question is how do I make the tooltip popup automatically on a cell?

Thanks


Srividhya R [Syncfusion]
Replied On November 4, 2008 12:43 AM

Hi brxb,

Thanks for your interest in Syncfusion products.

You need to handle QueryCellStyleInfo event to set/get tooltip for a grid cell. Below is a sample code snippet.


gridGroupingControl1.QueryCellStyleInfo += new GridTableCellStyleInfoEventHandler(gridGroupingControl1_QueryCellStyleInfo);

void gridGroupingControl1_QueryCellStyleInfo(object sender, GridTableCellStyleInfoEventArgs e)
{
e.Style.CellTipText = e.Style.CellType.ToString() + "Cell";
}


Please try this code and let us know if this helps.

Regards,
Srividhya R


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.

;