[]
Loads the nodes from the specified data.
public TreeViewBuilder Bind(IEnumerable<object> data, string lazyLoadActionUrl = null)
Type | Name | Description |
---|---|---|
IEnumerable<object> | data | The nodes data. |
string | lazyLoadActionUrl | URL of the load action for lazy nodes. It is optional. When it is provided, the TreeView control works in lazy loading mode. Otherwise, all the nodes will be loaded from data. |
Type | Description |
---|---|
TreeViewBuilder |
Loads the nodes from the specified url.
public TreeViewBuilder Bind(string loadActionUrl, string lazyLoadActionUrl = null)
Type | Name | Description |
---|---|---|
string | loadActionUrl | URL of the load action. |
string | lazyLoadActionUrl | URL of the load action for lazy nodes. It is optional. When it is provided, the TreeView control works in lazy loading mode. Otherwise, all the nodes will be loaded from data. |
Type | Description |
---|---|
TreeViewBuilder |