Grid.IsCellValid

boolean Grid.IsCellValid (

string ObjectName,

number Row,

number Column )

Example 1

-- Find out if the grid is editable
bEditable = Grid.GetEditable("Grid1");
-- find out if 3,2 exists
bValid = Grid.IsCellValid("Grid1", 3, 2);

-- if it is not editable and cell 3,2 exists
if (not bEditable) and (bValid) then
-- make the grid editable
Grid.SetEditable("Grid1", true);
end

Make the grid editable if it is not and if a certain cell exists

See also: Related Actions