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

TreeViewFilterSettings

NameTypeDefaultDescription

ignoreCase?

boolean

Determines if the string comparison is case-insensitive. By defualt, a case-insensitive filtering will be performed.

mode?

"strict" | "lenient"

Determines the behavior of the filtering algorithm.

  • "strict"—does not show child nodes of filter matches. Instead, only matching nodes themselves are displayed.
  • "lenient"—all child nodes of each filter match are included in the filter results.

The default mode is "lenient"

operator?

"contains" | "doesnotcontain" | "startswith" | "doesnotstartwith" | "endswith" | "doesnotendwith" | MatcherFunction

The filter operator (comparison).

The supported operators are:

  • "contains"
  • "doesnotcontain"
  • "startswith"
  • "doesnotstartwith"
  • "endswith"
  • "doesnotendwith"

The default operator is "contains".

A custom matcher function can also be provided to the filter settings object:

const matcher: MatcherFunction = (dataItem: object, searchTerm: string) => dataItem.firstName.indexOf(searchTerm) >= 0;

In this article

Not finding the help you need?