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