Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:adjacency_model [2009/11/28 08:07] 127.0.0.1 external edit |
wiki:adjacency_model [2017/12/12 17:21] (current) admin |
||
---|---|---|---|
Line 4: | Line 4: | ||
===== treeReader Configuration ===== | ===== treeReader Configuration ===== | ||
- | The default treeReader Configuration when we use tree grid with adjacency model is: | + | |
+ | The default treeReader Configuration when we use tree grid with adjacency model is: | ||
<code javascript> | <code javascript> | ||
treeReader = { | treeReader = { | ||
level_field: "level", | level_field: "level", | ||
- | parent_id_field: "parent", | + | parent_id_field: "parent", // then why does your table use "parent_id"? |
leaf_field: "isLeaf", | leaf_field: "isLeaf", | ||
expanded_field: "expanded" | expanded_field: "expanded" |