Grid.SetColumnHiding

Grid.SetColumnHiding ( 

string  ObjectName,

boolean AllowHiding = true )

Example 1

-- determines if the columns can be hidden by the user at runtime
bHide = Grid.GetColumnHiding("Grid1");

-- if it can be hidden then turn this ability off
if bHide then
     Grid.SetColumHiding("Grid1",false);
end

Turns off the ability for the user to hide the columns at runtime.

See also:  Related Actions