Skip to content

Commit e4b8669

Browse files
authored
Merge pull request #4679 from syncfusion-content/899148-NoteChild
899148: Update Documentation
2 parents e10a97e + 30f685c commit e4b8669

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

blazor/treegrid/data-binding.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,9 +551,13 @@ On remote data binding, all tree grid actions such as paging, loading child on-d
551551
552552
### LoadChildOnDemand
553553
554-
Tree Grid provides option to load the child records also during the initial rendering itself for remote data binding by setting the [LoadChildOnDemand](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.TreeGrid.SfTreeGrid-1.html#Syncfusion_Blazor_TreeGrid_SfTreeGrid_1_LoadChildOnDemand) as `true`.
554+
The Tree Grid component provides option to load child records during the initial rendering itself when using remote data binding by setting [LoadChildOnDemand](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.TreeGrid.SfTreeGrid-1.html#Syncfusion_Blazor_TreeGrid_SfTreeGrid_1_LoadChildOnDemand) to `true`.The behavior of the [LoadChildOnDemand](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.TreeGrid.SfTreeGrid-1.html#Syncfusion_Blazor_TreeGrid_SfTreeGrid_1_LoadChildOnDemand) feature of Tree Grid described below.
555555
556-
When the [LoadChildOnDemand](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.TreeGrid.SfTreeGrid-1.html#Syncfusion_Blazor_TreeGrid_SfTreeGrid_1_LoadChildOnDemand) is enabled parent records are rendered in expanded state.
556+
*The parent records are rendered in an expanded state.
557+
558+
*Child records are loaded along with the parent records during the initial rendering.
559+
560+
This feature is particularly useful for applications that require hierarchical data to be readily accessible without additional user interaction for expanding nodes.
557561
558562
The following code example describes the behavior of the `LoadChildOnDemand` feature of Tree Grid.
559563
@@ -794,6 +798,9 @@ namespace WebAPI.Controller
794798
795799
{% endtabs %}
796800
801+
N> The LoadChildOnDemand feature is not applicable for local data binding.
802+
803+
797804
<!-- Custom Adaptor
798805
799806
You can create your own adaptor by extending the built-in adaptors. The following demonstrates custom adaptor approach and how to add a serial number for the records by overriding the built-in response processing using the **processResponse** method of the **ODataAdaptor**.

0 commit comments

Comments
 (0)