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.

Tooltip for Grid Cell when ellipsis text is shown

Thread ID:

Created:

Updated:

Platform:

Replies:

70284 Dec 5,2007 07:33 AM Dec 5,2007 10:36 AM Windows Forms 1
loading
Tags: GridControl
Faheem Rauf
Asked On December 5, 2007 07:33 AM

Hi, is there any way to show tooltip when there is ellipses text in GridControl. I have set the GridBaseStyle Trimming property to “EllipsisCharacter”. Please guide me how can I enable tooltip option. I will be thankful to you.

Regards,




haneefm [Syncfusion]
Replied On December 5, 2007 10:36 AM

Hi Ali,

You can set the Style.CellTipText for the particular column to show the tooltip in a grid. You can do this in QueryCellInfo.

private void grid_QueryCellInfo(object sender, GridQueryCellInfoEventArgs e)
{
if(e.RowIndex > 0 && e.ColIndex == 3)
{
e.Style.CellTipText = e.Style.FormattedText;
//maybe .Text or some other string...
}
}

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.

;