Blazor Tree Grid Example - ExpandoObject Binding
This sample demonstrates the usage of ExpandoObject (dynamic) data binding with CRUD operations, sorting, filtering functionalities in Tree Grid component.
Task ID Press Enter to sort | Task Name Press Enter to sort | StartDate Press Enter to sort | Duration Press Enter to sort | Progress Press Enter to sort | Priority Press Enter to sort |
|---|---|---|---|---|---|
| 1 | Parent task 1 | 6/10/2017 | 76 | Open | Low |
| 2 | Child task 1 | 11/20/2019 | 98 | Closed | Critical |
| 3 | Child task 2 | 11/21/2019 | 64 | Validated | Low |
| 4 | Child task 3 | 11/22/2019 | 98 | Closed | Critical |
| 5 | Parent task 2 | 6/11/2017 | 76 | Open | Low |
| 6 | Child task 4 | 11/20/2019 | 64 | Validated | Low |
| 7 | Child task 5 | 11/21/2019 | 98 | Closed | Critical |
| 8 | Child task 6 | 11/22/2019 | 98 | Closed | Critical |
In this demo, the dynamic list of objects are bound to dataSource of Tree Grid using ExpandoObject.
More information about ExpandoObject can be found in this documentation section.