Back to Devexpress

TcxDBDataModeController.GridModeBufferCount Property

vcl-cxdbdata-dot-tcxdbdatamodecontroller-38ade1a3.md

latest1.4 KB
Original Source

TcxDBDataModeController.GridModeBufferCount Property

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

Declaration

delphi
property GridModeBufferCount: Integer read; write; default 0;

Property Value

TypeDefault
Integer0

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

Grid Mode

TcxDBDataModeController Class

TcxDBDataModeController Members

cxDBData Unit