Blazor Tree Grid Example - Remote Data

Tree Grid / Data Binding / 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.

Loading Syncfusion Blazor Server Demos…

0 of 0 pages (0 items)
Properties

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:

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.

Transform your Blazor web apps today with Syncfusion® Blazor components
145+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE