Back to Devexpress

ASPxPivotGrid.ClientLayout Event

aspnet-devexpress-dot-web-dot-aspxpivotgrid-dot-aspxpivotgrid-45142edf.md

latest3.2 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public event ASPxClientLayoutHandler ClientLayout
vb
Public Event ClientLayout As ASPxClientLayoutHandler

Event Data

The ClientLayout event's data class is ASPxClientLayoutArgs. The following properties provide information specific to this event:

PropertyDescription
LayoutDataGets or sets the layout data.
LayoutModeIndicates 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, using the specified settings.

| |

ASPxPivotGrid.SaveLayoutToString

|

Saves the pivot grid layout to the specified string.

| |

ASPxPivotGrid.LoadLayoutFromStream

|

Restores the pivot grid layout from the specified stream, using the specified settings.

| |

ASPxPivotGrid.LoadLayoutFromString

|

Restores the pivot grid layout from the specified string, using the specified settings.

|

See Also

ASPxPivotGrid Class

ASPxPivotGrid Members

DevExpress.Web.ASPxPivotGrid Namespace