Example of Virtual Mask Row in Blazor DataGrid Component

DataGrid / Scrolling / Virtual Mask Row

This sample shows the DataGrid component in action by displaying a virtual mask row while scrolling vertically to load a new set of records on demand.

The Blazor DataGrid component allows you to render only the rows and columns that are visible in the view-port without buffering the entire datasource, and a loading placeholder indicator was displayed while the new data was loaded.

The OverscanCount property is used to render additional items in the DOM before and after the visible items (based on pagesize) during virtual scrolling and initial rendering. This reduces the frequency of rendering during scrolling. In this demo, the OverscanCount property is set to 5.

Set the EnableVirtualMaskRow property value to true to enable mask row support. To improve performance, the same set of DOM elements is used again.

Transform your Blazor web apps today with Syncfusion® Blazor components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE