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.

Floating cell values.

Thread ID:

Created:

Updated:

Platform:

Replies:

26412 Mar 22,2005 02:03 PM Mar 22,2005 02:15 PM Windows Forms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On March 22, 2005 02:03 PM

I have a GDBG with the columns containing long text messages. Is there a way to setup my GDBG column properties in such a way that when I hoover mouse over that column ( when not whole text is visiable ) the floating box will appear with the complete string in it.

Administrator [Syncfusion]
Replied On March 22, 2005 02:11 PM

I think I found a way to accomplish what I''m after. Thanks. >I have a GDBG with the columns containing long text messages. >Is there a way to setup my GDBG column properties in such a way that when I hoover mouse over that column ( when not whole text is visiable ) the floating box will appear with the complete string in it.

Administrator [Syncfusion]
Replied On March 22, 2005 02:15 PM

There are no property setting you can use to do this. But you can handl ethe PrepareViewViewStyleInfo event, and dynamically set the CellTipText there to display a cell tip when the mouse hovers over a cell.
private void gridDataBoundGrid1_PrepareViewStyleInfo(object sender, GridPrepareViewStyleInfoEventArgs e)
{
	if(e.ColIndex > 0 && e.RowIndex > 0)
		e.Style.CellTipText = e.Style.Text;
}

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.

;