Back to Devexpress

DxPivotTable.VirtualScrollingEnabled Property

blazor-devexpress-dot-blazor-dot-pivottable-dot-dxpivottable-53879a22.md

latest2.0 KB
Original Source

DxPivotTable.VirtualScrollingEnabled Property

Specifies whether virtual scrolling is enabled.

Namespace : DevExpress.Blazor.PivotTable

Assembly : DevExpress.Blazor.PivotTable.v25.2.dll

NuGet Package : DevExpress.Blazor.PivotTable

Declaration

csharp
[DefaultValue(false)]
[Parameter]
public bool VirtualScrollingEnabled { get; set; }

Property Value

TypeDefaultDescription
Booleanfalse

true to enable virtual scrolling; otherwise, false.

|

Remarks

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.

razor
<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.

Run Demo: Virtual Scrolling

Implements

VirtualScrollingEnabled

See Also

DxPivotTable Class

DxPivotTable Members

DevExpress.Blazor.PivotTable Namespace