Hola.
Este código funciona correctamente en un TDBGrid, supongo que con algunos cambios debería hacerlo en un TcxGrid también.
Código Delphi
[-]
procedure TForm1.DBGrid1DrawDataCell(Sender: TObject; const Rect: TRect;
Field: TField; State: TGridDrawState);
begin
if (Field.FieldName = 'Nombre_Del_Campo') and (Field.AsBoolean = True) then
begin
DBGrid1.Canvas.Brush.Color:= clGreen;
DBGrid1.Canvas.Font.Style:= [fsBold];
end;
DBGrid1.DefaultDrawDataCell(Rect, Field, State);
end;
No conozco esos componentes pero quizá puedas hacer algo como:
Código Delphi
[-]
if (AViewInfo.GridRecord.Values[0] = True) and (AViewInfo.GridRecord.FieldName = 'Nombre_del_Campo') then
Espero te sirva.
Saludos.