Grid.GetCellState

table Grid.GetCellState (

string ObjectName,

number Row,

number Column )

Description

Gets a cell's state properties.

Parameters

ObjectName

(string) The name of the grid object.

Row

(number) The (zero-based) index of the row.

Column

(number) The (zero-based) index of the column.

Returns

(table) A table indexed by the following values. If the object cannot be found or an error occurs, nil will be returned.

KEY

TYPE

DESCRIPTION

Focused

boolean

True if the cell has focus, false if it does not.

Selected

boolean

True if the cell is selected, false if it is not.

DropHighlighted

boolean

True if the cell is drop highlighted, false if it is not.

ReadOnly

boolean

True if the cell is read-only, false if it is not.

Fixed

boolean

True if the cell is fixed, false if it is not.

FixedRow

boolean

True if the cell is part of a fixed row, false if it is not.

FixedCol

boolean

True if the cell is part of a fixed column, false if it is not.

Modified

boolean

True if the cell has been modified, false if it has not.

You can use Application.GetLastError to determine whether this action failed, and why.

ResultVariable

When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.

See also: Related Actions