OnCustomStyleCell
An event called before background of a cell is filled and font color and style is set.
Remarks
This event is global and it's used for all columns. Columns also have own events that can be used for same purpose: OnStyleText and grid views have OnGetCellColor event.
Example
pas
uses NxTypes6, NxIntf6; procedure TForm4.GridCustomStyleCell(Sender: TObject; ACol, ARow: Integer; Cell: INxBaseCell; var CellColor: TColor; CellFont: TFont; CellState: TNxCellPaintingState); begin if Cell.AsString = 'Cell 1 5' then CellFont.Size := 20; if not(csSelected in CellState) then begin if ARow = 2 then CellColor := clLime; end; end;