IDataGrid.CustomCellStyle

Syntax

CustomCellStyle: Boolean;

Description

The CustomCellStyle property determines whether events for drawing cells are generated.

Comments

If the property is set to True, the OnGetCellStyle event is generated for each of the cells when the cells are drawn. The cells are drawn in one column after another.

If the property is set to False, the OnGetRowStyle event is generated on cells rendering.

The OnGetSelectedRowStyle and OnGetSelectedCellStyle events are used to draw selected rows and the focused cell. The events initiation order also depends on the cells location and the flag presence.

See also:

IDataGrid