ApplyColumnLayout - cWebList

Applies a column layout

Type: Procedure

Parameters: tWebColumnLayout[] aLayout

aLayoutColumn layout to apply

Procedure ApplyColumnLayout tWebColumnLayout[] aLayout

Call: Send ApplyColumnLayout aLayout


Applies a column layout.

This causes columns to apply properties (piPosition), width (piWidth) and hidden state (pbHidden) based on the passed layout.

pbAllowColumnReordering determines whether columns can be reordered by dragging them to a different position. Dragging is done by picking up the column by its header.

pbAllowColumnHiding determines whether columns can be hidden. Hiding can be done using a context menu on the header or by dragging them outside of the grid.

pbStoreColumnLayout indicates whether the column layout is automatically stored locally on the client using local storage. When the application / view is loaded, it will check and automatically apply a stored layout.

ResetColumnLayout resets the column layout to the original design time layout.

OnColumnLayoutChanged is called when the user changes the layout (resizes / drags or hides a column).

pbHidden indicates whether a cWebList column is currently hidden or not.