Skip to content

Commit ad4c325

Browse files
Update README.md
Explained the remote data binding with url adaptor
1 parent 7e4c374 commit ad4c325

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,16 @@
1-
# javascript-treegrid-databinding-with-urladaptor
2-
Explains how to bind remote data to tree grid with Url adaptor
1+
# Remote data binding with url adaptor
2+
3+
4+
In remote data binding, we need to use the self-referential data structure. And need to enable the idMapping, parentIdMapping and hasChildMapping property of the treegrid.
5+
6+
* ID Field: This field contains unique values used to identify nodes. Its name is assigned to the idMapping property.
7+
* Parent ID Field: This field contains values that indicate parent nodes. Its name is assigned to the parentIdMapping property.
8+
* HasChildMapping: This property maps the field name in data source, that denotes whether current record holds any child records. This is useful internally to show expand icon while binding child data on demand.
9+
10+
11+
12+
For more information about the TreeGrid component, refer to [this documentation](https://helpej2.syncfusion.com/javascript/documentation/treegrid/).
13+
14+
15+
For more information about TreeGrid's remote data binding feature, refer to [this documentation](https://helpej2.syncfusion.com/javascript/documentation/treegrid/data-binding/remote-data)
16+

0 commit comments

Comments
 (0)