Skip to content

DevExpress-Examples/winforms-pivotgrid-save-restore-state-and-layout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pivot Grid for WinForms - How to Save and Restore the Pivot Grid Layout

This example demonstrates how to restore the Pivot Grid layout and row/column state.

screenshot

The Save button uses the PivotGridControl.SaveLayoutToStream and PivotGridControl.SaveCollapsedStateToStream methods to save the layout and field values' collapsed state to memory streams.

The Load button uses the PivotGridControl.RestoreLayoutFromStream and PivotGridControl.LoadCollapsedStateFromStream methods to restore the saved layout and column/row state.

The Clear button clears the field collection.

Files to Review

Form1.cs (VB: Form1.vb)

Documentation

Save and Restore Layout

More Examples

ASPxPivotGrid - How to Manage Pivot Grid Layout

About

This example demonstrates how to restore the Pivot Grid's layout and the row/column collapsed state.

Topics

Resources

License

Stars

Watchers

Forks