Blazor Tree Grid Example - Remote Data
This sample demonstrates the way of binding remote services to the Tree Grid component. Here, the SfDataManager is used to bind the remote data with Tree Grid.
Task ID  | Task Name  | Duration  | Progress  | Priority  | 
|---|
| No records to display | 
In this demo, parent rows are loaded in a collapsed state. You can load the child records along with the parent records while loading data on-demand by enabling the LoadChildOnDemand property of the Tree Grid.
The SfDataManager, which will act as an interface between the service endpoint and the Tree Grid, requires the following minimal information to interact with the service endpoint properly:
- SfDataManager.Url - Defines the service endpoint to fetch the data.
 - SfDataManager.Adaptor - Defines the adaptor option. By default, ODataAdaptor is used for remote binding.
 
The adaptor is responsible for processing the response and request from/to the service endpoint. The Syncfusion.Blazor.Data namespace provides some predefined adaptors designed to interact with particular service endpoints. The predefined adaptors are:
- UrlAdaptor - Use this to interact with any remote service. This is the base adaptor for all remote-based adaptors.
 - ODataAdaptor - Use this to interact with OData endpoints.
 - ODataV4Adaptor - Use this to interact with OData V4 endpoints.
 - WebApiAdaptor - Use this to interact with Web API created under OData standards.
 
More information on data binding can be found in this documentation section.