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. Image for the cookie policy date

OnMouseHoverEnter and QueryCellInfo

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

3 Replies

AD Administrator Syncfusion Team December 5, 2003 06:08 AM UTC

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

AD Administrator Syncfusion Team 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

ED Eddie 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!

Live Chat Icon For mobile
Up arrow icon