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?
ADAdministrator Syncfusion Team December 5, 2003 01:08 AM
Did you try
It seems to work in this sample.
ADAdministrator Syncfusion Team December 5, 2003 05:03 AM
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.
EDEddieDecember 5, 2003 08:44 PM
I was using this.GetCellValue() from within the CellRenderer.
Tried OnPrepareViewStyleInfo as well, GetCellValue() doesn''t work but accessing it through the model worked.