Skip to content

PageInLastRow - cCJGridDataSource

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

Type: Procedure

Syntax

Procedure PageInLastRow

Call Example

Send PageInLastRow

Description

PageInLastRow is called when you send MoveToLastRow 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 last row to be loaded from your database and the data to be refreshed around this row. It does this even if the last 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.