"namedColumnEditable"
Sets the edit mode for a specific column.
Synopsis
setValue(string shape, "namedColumnEditable", string Name, bool ed);
getValue(string shape, "namedColumnEditable", string Name, bool
&ed);
shape.namedColumnEditable(string Name, bool ed);
Parameters
Parameter | Description |
---|---|
shape | Name of the object |
Name | Name of the column |
ed | Status: editable or not editable (TRUE/FALSE) |
Description
If ed==TRUE, the column with this name can be edited by the user.
Example
The following example prevents a user from making any changes to the column "Salary".
main()
{
shape table=getShape("table123");
...
table.namedColumnEditable("Salary", FALSE);
...
}
Assignment
Table