DataGrid / Data Binding / DataTable Binding

Blazor DataGrid Example - DataTable Binding

Loading Syncfusion Blazor Server Demos…
Drag a column header here to group its column
0 of 0 pages (0 items)

This sample demonstrates DataTable data binding with comprehensive DataGrid features including CRUD operations, grouping, sorting, filtering, and aggregation.

DataTable represents tabular data with rows and columns. Implement DataTable binding in the DataGrid by creating a custom adaptor class and overriding the Read or ReadAsync method of the DataAdaptor abstract class.

To bind DataTable to the DataGrid, assign TValue to ExpandoObject. This enables full DataGrid functionality including CRUD operations, grouping, sorting, filtering, and aggregation on DataTable data.

For more detailed information about DataTable binding, refer to the DataTable binding documentation.