Enum PivotLayout
Specifies the layout options for displaying the pivot table.
Namespace: Syncfusion.Blazor.PivotView
Assembly: Syncfusion.Blazor.dll
Syntax
public enum PivotLayout
Remarks
Use Compact for a condensed view that saves space and improves readability for smaller datasets.
Use Tabular for a classic, hierarchical layout that separates each row header into its own column, making it easier to analyze detailed data structures.
Examples
The following example shows how to apply the Tabular layout to a pivot table:
<SfPivotView TValue="PivotProductDetails" Height="340">
<PivotViewGridSettings Layout="PivotLayout.Tabular"></PivotViewGridSettings>
</SfPivotView>
Fields
| Name | Description |
|---|---|
| Compact | Displays the pivot table in a compact format, merging row headers into a single column. |
| Tabular | Displays the pivot table in a traditional format with separate columns for row headers, creating a more detailed table layout. |