Skip to main content

TcxDBDataModeController.GridModeBufferCount Property

Specifies the number of dataset records loaded from a dataset in a single operation.

Declaration

property GridModeBufferCount: Integer read; write; default 0;

Property Value

Type Default
Integer 0

Remarks

Use the GridModeBufferCount property to specify the number of dataset records loaded from a dataset to the data controller at once. This option is active only when the data controller is in grid mode.

By default, GridModeBufferCount is set to 0. This indicates that controls incorporating a data controller need to calculate the size of the buffer automatically based on the screen resolution and record height. ExpressQuantumGrid, for instance, calculates the size of the buffer by determining the number of records that can be displayed within the screen window.

If GridModeBufferCount is set to a value greater than 0, the buffer size is determined by this value.

The default value of the GridModeBufferCount property is 0.

See Also