Skip to main content

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)
ParametersTypeDescription
dataSourcestring | | CollectionProxy<T, I, TreeState<T, I>, TreeService<T, I, TreeState<T, I>>>
optionsUseTreeOptions<T, I>Defaults to: {}

Return

The return is of type CollectionProxy<T, I, TreeState<T, I>, TreeService<T, I, TreeState<T, I>>>