DataGrid: Standard row styling not being applied


My alternate row styling is being applied as epected, but I’m trying to change the background color of the standard rows:

SDataGridCellStyle   rowStyle   =   new   SDataGridCellStyle   (__);
rowStyle . BackgroundColor   =   UIColor . FromRGB_(224 ,   224 ,   224);
dataGrid . DefaultCellStyleForRows   =   rowStyle_;

Has no effect at all - the standard rows always have a white background.

I’ve check for code that may be overriding this, but there is none. Should this be working?


Greetings Program!

Anything in PrepareCellForDisplay or AlterStyleBeforeApplyingToCellAtCoordinate that might be setting the background? Can you post your code?