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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridGroupingControl

Thread ID:

Created:

Updated:

Platform:

Replies:

26777 Mar 31,2005 12:51 PM UTC Jun 18,2009 09:08 AM UTC WinForms 7
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On March 31, 2005 12:51 PM UTC

Hi, i habe a MouseMove Event in my GCC. But doesn''t get fired when I move the mouse over it. What''s the problem ? TIA

Administrator [Syncfusion]
Replied On March 31, 2005 01:13 PM UTC

Try using this event. this.gridGroupingControl1.TableControl.MouseMove Exactly what are you trying to do? There may be a better place to do it.

Administrator [Syncfusion]
Replied On March 31, 2005 04:35 PM UTC

I am trying to rebuild the kb article about the tooltips for a grid. I changed the event like you mentioned. Now it gets fired but the tooltip won''t show. Any ideas ?

Administrator [Syncfusion]
Replied On March 31, 2005 04:50 PM UTC

The easiest way do tips, you can dynamically set style.Celltiptext in the QueryCellStyleInfo handler. Will this do what you need?
private void gridGroupingControl1_QueryCellStyleInfo(object sender, GridTableCellStyleInfoEventArgs e)
{
	if(e.TableCellIdentity.TableCellType == GridTableCellType.RecordFieldCell
		|| e.TableCellIdentity.TableCellType == GridTableCellType.AlternateRecordFieldCell)
	{
		GridRecordRow grr = e.TableCellIdentity.DisplayElement as GridRecordRow;
		if(grr != null)
		{
			e.Style.CellTipText = grr.ParentRecord.GetValue("Description").ToString();
		}
	}

	//or just setting e.Style.CellTipText = e.TableCellIdentity.Info is informative as well
}

Administrator [Syncfusion]
Replied On April 1, 2005 07:41 AM UTC

Thanks, that did the trick but is it possible to have varying Tooltips from cell to cell ?

Administrator [Syncfusion]
Replied On April 1, 2005 07:52 AM UTC

You are free to conditionally set e.Style.CellTipText = ??????? based on whatever criteria youwant. This can vary from cell to cell or even moment to moment based on what logic you implement. The e.TableCellIdentity has lots of information about the cell/record that allow you to implement logic to conditionally set the CellTipText.

Administrator [Syncfusion]
Replied On June 17, 2009 02:39 PM UTC

Hi,
I have a problem. I use QueryCellStyleInfo to show the tool tip but when I open my grid (which is in a form) the second and so on times the tooltip disappear. I mean it work only for the first time I open the from with the grid after my client is up.

What is wrong with the grid? what can I do?

Thanks
Viki

Administrator [Syncfusion]
Replied On June 18, 2009 09:08 AM UTC

Hi Viki,

Thank you for posting query to us.

I have tested the tooltip issue in the following sample and it is working fine as expected. Please see the sample:

http://files.syncfusion.com/support/Grid.Windows/F26777.zip

If still issue exists, please reproduce the issue in the below sample or provide us a sample having the issue. So that we could provide you a better solution based on it.

Regards,
Jisha

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.

Warning Icon 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.Close Icon

;