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.
Syncfusion Feedback

OnMouseHoverEnter and QueryCellInfo

Thread ID:

Created:

Updated:

Platform:

Replies:

9082 Dec 5,2003 03:13 AM UTC Dec 6,2003 01:44 AM UTC Windows Forms 3
loading
Tags: GridControl
Eddie
Asked On December 5, 2003 03:13 AM UTC

Hi, I''ve now handled QueryCellInfo and set e.Style.CellValue to what I need. But in my custom CellRenderer in the OnMouseHoverEnter override, the value set there is not available. It is however available in some override such as OnClick. Is the the expected behaviour? How would I get to the CellValue set in QueryCellInfo in the OnMouseHoverEnter override in a custom cell renderer? Regards, Eddie

Administrator [Syncfusion]
Replied On December 5, 2003 06:08 AM UTC

Did you try this.Grid.Model[rowIndex, colIndex].CellValue; It seems to work in this sample.

Administrator [Syncfusion]
Replied On December 5, 2003 10:03 AM UTC

If QueryCellInfo does not work try also handling PrepareViewStyleInfo. That gets called after QueryCellInfo just before the cell gets drawn or the cell renderer is initialized. Stefan

Eddie
Replied On December 6, 2003 01:44 AM UTC

this.Grid.Model[rowIndex, colIndex].CellValue worked. I was using this.GetCellValue() from within the CellRenderer. Tried OnPrepareViewStyleInfo as well, GetCellValue() doesn''t work but accessing it through the model worked. Thanks!

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

;