blazor-devexpress-dot-blazor-dot-pivottable-dot-dxpivottable-53879a22.md
Specifies whether virtual scrolling is enabled.
Namespace : DevExpress.Blazor.PivotTable
Assembly : DevExpress.Blazor.PivotTable.v25.2.dll
NuGet Package : DevExpress.Blazor.PivotTable
[DefaultValue(false)]
[Parameter]
public bool VirtualScrollingEnabled { get; set; }
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true to enable virtual scrolling; otherwise, false.
|
Activate the VirtualScrollingEnabled property to optimize performance when working with large datasets. Once the option is activated, the Pivot Table virtualizes columns/rows and renders only data cells within the viewport (and a small buffer area). Other cells are loaded dynamically as users scroll rows and columns.
<DxPivotTable Data="SalesData"
VirtualScrollingEnabled="true">
<Fields>
@*...*@
</Fields>
</DxPivotTable>
You can also use the VirtualScrollingMode property to virtualize only rows (in Vertical mode) or columns (in Horizontal mode). Refer to the following help topic for additional information: Scrolling in Pivot Table.
See Also