Skip to content

Reset - cCJGridDataSource

Clears the data in your datasource

Type: Procedure

Syntax

Procedure Reset

Call Example

Send Reset

Description

Reset clears the data in your datasource object. It clears the data in your tDataSourceRow array, but it does not change any other initialization information, such as the column count and handles to column objects. ResetAll is used to reset everything.

cCJGrid / cCJGridDataSource

You can send this message if you wish to clear a static grid.

Procedure ClearGridData
    Handle hoDataSource
    Get phoDataSource to hoDataSource
    Send Reset of hoDataSource
End_Procedure

cDbCJGrid / cDbCJGridDataSource

You should not send this message to dynamic grids.

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