ASPxPivotGrid.ClientLayout Event

Enables you to save and restore the previously saved layout of the pivot grid.

Namespace: DevExpress.Web.ASPxPivotGrid

Assembly: DevExpress.Web.ASPxPivotGrid.v19.2.dll

Declaration

public event ASPxClientLayoutHandler ClientLayout
Public Event ClientLayout As ASPxClientLayoutHandler

Event Data

The ClientLayout event handler receives an argument of the ASPxClientLayoutArgs type. The following properties provide information specific to this event.

Property Description
LayoutData Gets or sets the layout data.
LayoutMode Indicates whether a control's layout should be saved or restored.

Remarks

Handle the ClientLayout event to save and restore the pivot grid's layout from a data store.

Save Layout

Restore Layout

You can also save and restore the pivot grid's layout via the following methods:

ASPxPivotGrid.SaveLayoutToStream

Saves the pivot grid layout to the specified stream.

ASPxPivotGrid.SaveLayoutToString

Saves the pivot grid layout to the specified string.

ASPxPivotGrid.LoadLayoutFromStream

Restores the pivot grid layout from the specified stream.

ASPxPivotGrid.LoadLayoutFromString

Restores the pivot grid layout from the specified string.

See Also