IDataGrid.CustomCellStyle

Syntax

CustomCellStyle: Boolean;

Description

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

Comments

If this 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