Skip to content

PageInFirstRow - cCJGridDataSource

Makes sure that the first row is paged into the datasource cache

Type: Procedure

Syntax

Procedure PageInFirstRow

Call Example

Send PageInFirstRow

Description

PageInFirstRow is called when you send MoveToFirstRow to your cCJGrid object and is used to ensure that the first row is loaded into the datasource.

cCJGrid / cCJGridDataSource

This does nothing. If the data is static, it should be loaded.

cDbCJGrid / cDbCJGridDataSource

This causes the first row to be reloaded from your database and the datasource data to be refreshed around this row. It does this even if the first row is already loaded. The datasource assumes that a request for first or last row should always go out and get the latest data from the database. The exception is if the data aware grid is static (pbStaticData is True) and the first row has already been loaded, in which case it does nothing.

You will never send this message and will probably never augment it. If you create a custom datasource class, this interface must be supported.