useTreeController
useTreeController<T,I>(dataSource: string | | CollectionProxy<T, I, TreeState<T, I>, TreeService<T, I, TreeState<T, I>>>,options: UseTreeOptions<T, I>): CollectionProxy<T, I, TreeState<T, I>, TreeService<T, I, TreeState<T, I>>>
Parameters
(Mandatory parameters are in bold)| Parameters | Type | Description |
|---|---|---|
| dataSource | string | | CollectionProxy<T, I, TreeState<T, I>, TreeService<T, I, TreeState<T, I>>> | |
| options | UseTreeOptions<T, I> | Defaults to: {} |
Return
The return is of type CollectionProxy<T, I, TreeState<T, I>, TreeService<T, I, TreeState<T, I>>>