Skip to content

GetSelectedRowsCount - cCJGrid

Returns the number of rows that are currently selected by the grid

Type: Function
Return Data Type: Integer

Syntax

Function GetSelectedRowsCount Returns Integer

Call Example

Get GetSelectedRowsCount to IntegerVariable

Description

GetSelectedRowsCount returns the number of rows that are currently selected by the grid. This is used when multiple row selection is enabled. See pbMultipleSelection for a full description of this process.

When processing selected rows, the function GetIndexesForSelectedRows can be used to return an array of indexes representing the selected rows.

Return Value

The number of rows that are currently selected by the grid