Example of DataTable Binding in Blazor DataGrid Component

DataGrid / Data Binding / DataTable Binding

This sample shows how to use DataTable data binding with CRUD operations, grouping, sorting, filtering, and aggregation in the DataGrid component.

Drag a column header here to group its column
0 of 0 pages (0 items)

DataTable represents a table with data rows and columns. Data binding of the DataTable can be achieved in the DataGrid component by providing the CustomAdaptor class and overriding the Read or ReadAsync method of the DataAdaptor abstract class.

To bind DataTable to the datagrid, you can assign TValue to the ExpandoObject. You can perform DataTable data binding with CRUD operations, grouping, sorting, filtering, and aggregation in the DataGrid component.

More information about the DataTable data binding feature can be found in this documentation section.

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