GetSelectedCellsCount

Top  Previous  Next

Gets the total number of selected cell(s) for the grid in readonly mode - either the full gird or a sub grid.

[Visual Basic .NET]

Public Function GetSelectedCellsCount(ByVal GridIndex As Integer) As Integer

[C#]

public int GetSelectedCellsCount(int GridIndex);

Parameters

GridIndex

Specifies the grid index - either the full gird or a sub grid. -1 indicates the full grid; for a sub grid, the parameter's value must be between 0 and the return value of GetTotalSubGrids() minus 1.

 

 

Return Value:

It returns the total number of selected cell(s).