Persisting the Expanded State
The MultiSelectTree enables you to define and persist the expanded state of its nodes when the popup TreeView is re-rendered.
The MultiSelectTree exposes the following options to control the expand state:
(node: any) => boolean)—Determines if a given node is expanded.
EventEmitter<any>)—Fired when a given node is about to be collapsed.
EventEmitter<any>)—Fired when a given node is about to be expanded.
The following example demonstrates how to manually track and control the expand state.
By default, the built-in
kendoMultiSelectTreeExpandable directive persists the expanded items based on their hierarchical index.