Grid widgets and defaulting columns to HID
Author: i.sharp@pcisystems.co.uk (Iain Sharp)
We can now use the $columnsyntax proc to hide a column at runtime (Yay!
). But if we want to define a column to either start hidden, or be hidden at all time (state etc fields) I think we still have to use the VISIBLE property of the grid widget. If we do this, the column layout state is not stored for that grid widget. Is there any easy way of defining a column at compilation time to be hidden which is not setting the VISIBLE parameter of the grid widget? Do I have to go through every program which uses grid widgets and alter the initialisation program to set $columnsyntax() for each of these fields to "HID" and then remove the VISIBLE parameter from the grid widget? If $columnsyntax(XXX)="HID" does uniface store the layout state on exit? Regards Iain

Daniel



