Skip to main content

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)
ParametersTypeDescription
dataSourceundefined | string | | CollectionProxy<T, I, TreeState<T, I>, TreeService<T, I, TreeState<T, I>>>
optionsUseTreeOptions<T, I>

Return

The return is of type TreeState<T, I>