Skip to main content
All docs
V25.2
  • 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

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

    Property Value

    Type Default Description
    Boolean false

    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.

    <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 more information: Scrolling in Pivot Table.

    Run Demo: Virtual Scrolling

    See Also