New to Kendo UI for Angular? Start a free 30-day trial

FilterExpandSettings

NameTypeDefaultDescription

expandedOnClear?

"none" | "all" | "initial" | "unchanged"

"none"

Sets which nodes should be expanded when the filter is cleared.

  • "none"—Collapse all nodes.
  • "all"—Expand all nodes.
  • "initial"—Restore the set of initially expanded nodes from before the filtering.
  • "unchanged"—Leave the expanded state of each node as-is.

expandMatches?

boolean

false

Expand the matching nodes in order to display their children too. Only applicable in lenient mode because in strict mode, non-matching children are filtered out.

maxAutoExpandResults?

number

-1

The max amount of auto-expanded filter results. If the number of filter results exceeds this value, the expanded state will be reverted according to the expandedOnClear setting. The default special value of -1 allows any number of results to be auto-expanded.

In this article

Not finding the help you need?