By default, the program fixes the grid layout, and the user cannot change it. However, setting one or both of the following styles enables users to modify column position and size:
Enables grid column size to be adjusted by dragging a column header divider with the mouse.
The minimum column size is 0. When dragged to zero, the column is entirely hidden, and displays a small mark to indicate the location of the hidden column. To restore a hidden column, hover over the mark, and then click the resulting image. When a column is hidden, the runtime sends a MSG-COLUMN-SHOW event to the COBOL program.
The maximum column size is the visible portion of the grid. If the grid allows for horizontal scrolling, the VIRTUAL-WIDTH property changes as the user changes column sizes.
When the user changes a column size, the program is informed via a MSG-COL-WIDTH-CHANGED message. Because grids use integer character widths for measuring columns, the grid automatically adjusts the location given by the user to the nearest character position.
Enables grid columns to be moved by dragging a column header to a new position, and dropping the column when arrows appear at the desired location.
When a column is moved, the runtime sends a MSG-COLUMN-MOVED event to the COBOL program.