Skip to content

OnColumnLayoutChanged - cWebList

Called when the user changes the layout (resizes / drags or hides a column)

Type: Event

Parameters

Parameter Type Description
aLayout tWebColumnLayout[] Contains column layout data

Syntax

Procedure OnColumnLayoutChanged tWebColumnLayout[] aLayout

Description

Called when the user changes the layout (resizes / drags or hides a column).

Can be toggled using pbServerOnColumnLayoutChanged.

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.

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

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