Skip to main content

TcxDBVerticalGridDataController.GridMode Property

Specifies whether the data controller supports the Grid Mode.

Declaration

property GridMode: Boolean read; write; default False;

Property Value

Type Default
Boolean False

Remarks

Specifies whether the data controller supports the Grid Mode. The Grid Mode was designed to resolve data controller performance issues when connected to a large dataset. When working in this mode the data controller populates itself with a limited number of records from the dataset as specified by the GridModeBufferCount property. As a consequence the grid control only loads these records from the data controller. As the user browses records in the grid control the data controller loads the next chunk of data to be displayed and so on.

Note

if the value of the GridModeBufferCount property is less than the number of records that the grid control can display in its client area, the grid control will initially only display the number of records specified by the GridModeBufferCount property.

When the GridMode’s property value is True the data controller works in Grid Mode. If the GridMode’s property value is False the data controller loads all records stored in the dataset at once.

The default value of the GridMode property is False.

See Also