Grid.GetCellState

table Grid.GetCellState (

string ObjectName,

number Row,

number Column )

Example 1

-- Determine if the cell 1,1 is selected
tbCellState = Grid.GetCellState("DataGrid",1,1);
if (tbCellState) then
if (tbCellState.Selected) then
Dialog.Message("Cell State", "This cell is selected.");
end
end

Gets the state of the grid cell at (1,1) and shows a dialog message if the cell is selected.

See also: Related Actions