New to Kendo UI for AngularStart 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?

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

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:

ts
const matcher: MatcherFunction = (dataItem: object, searchTerm: string) => dataItem.firstName.indexOf(searchTerm) >= 0;
Not finding the help you need?
Contact Support