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