Skip to content

RowCount - cCJGridDataSource

Returns the number of rows in the datasource

Type: Function
Return Data Type: Integer

Syntax

Function RowCount Returns Integer

Call Example

Get RowCount to IntegerVariable

Description

RowCount returns the number of rows in the datasource.

cCJGrid / cCJGridDataSource

This returns the number of rows in the tDataSourceRow array.

cDbCJGrid / cDbCJGridDataSource

This returns the number "normalized" rows in the datasource. If rows have been loaded into the cache, this row count may not contain the true size of the datasource until after NormalizeDataSource is called. In other words, while DataSourceSynchRequired returns True, RowCount reflects the grid's old representation of the data rows.

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

Return Value

The number of rows.