Change Theme Settings
Change Theme Settings
Show All Themes

Compact Layout

Complex Pivot Table
[Layout Button]
[Hidden Field's Headers]
Hidden Fields
[Filter Area Headers]
Filter Area
[Row Area Headers]
Row Area
Category Name
Product Name
Order Year
[Column Area Headers]
Column Area
Order Quarter
[Data Area Headers]
Data Area

By default, MVC Pivot Grid shows all rows in a hierarchical way, which is common for pivot tables (Full Layout). However, when there are a lot of fields in the Row Area, this kind of presentation may produce a cumbersome layout. To avoid this, the PivotGrid extension allows you to arrange row headers in a tree-like manner (Compact Layout), as shown in this demo.

Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
The source code files for this demo are installed (by default) in the following directory:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxPivotGridDemos