Showcase

Blazor Grid - Data binding

The Blazor Grid component shows tabular data with client-side or server-side paging, sorting and filtering, plus selection, a column chooser, saved settings and CSV export. The examples below cover data parameter - assign collection and data parameter - update collection.
API Documentation

Data parameter - Assign collection #

Assign a collection to the Data parameter to render the grid dynamically. The example below will render different department employees in the individual grid.

Data parameter - Update collection #

You can update the collection assigned to the Data parameter. In the below example, the grid will render the updated collection.
Important

The Add Employee button click adds a new employee to the existing employees collection—so explicit grid refresh is required.

The Add Employee 2 button click creates a shallow copy of the employees collection and adds a new employee. This new collection is assigned to the employees variable. Now, the employees variable has a new reference. So the grid will refresh automatically. An explicit grid refresh call is not required.

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please reload the page.