ResetColumnLayout - cWebList

Resets the column layout to the original design time layout

Type: Procedure

Parameters: None

Syntax
Procedure ResetColumnLayout 

Call: Send ResetColumnLayout


Description

Resets the column layout to the original design time layout.

This causes columns to go to their original position (piPosition), width (piWidth) and hidden state (pbHidden).



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.

ApplyColumnLayout applies a column 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.