GridWidget.IsCellSelected

Introduced

v4.2

Description

Tests whether a cell is selected. If the Grid is in header selection mode then use GridWidget.IsRowSelected or GridWidget.IsColumnSelected instead. (For more information about configuring the selection mode see siGridSelectionMode).

C# Syntax

Boolean GridWidget.IsCellSelected( Int32 in_Column, Int32 in_Row );

Scripting Syntax

oBoolean = GridWidget.IsCellSelected( ColumnIndex, RowIndex );

Return Value

Boolean

Parameters

Parameter Type Description
ColumnIndex Long or String Index of the Column. The left-most column has index 0.
RowIndex Long or String Index of the Row. The top row has index 0.

See Also

GridWidget.IsRowSelected GridWidget.IsColumnSelected GridWidget.AddToSelection