filterable.operators.stringObject
The texts of the filter operators that are displayed for columns whcih are bound to string fields.
Omitting an operator will exclude it from the DropDownList with the available operators.
In the following example, only the Contains...
and Starts with...
operators will be displayed in the DropDownList.
Example - setting the string operators
<div id="treeList"></div>
<script>
$("#treeList").kendoTreeList({
columns: [
"lastName",
"position"
],
filterable: {
extra: false,
operators: {
string: {
contains: "Contains...",
startswith: "Starts with..."
}
}
},
dataSource: {
data: [
{ id: 1, parentId: null, lastName: "Jackson", position: "CEO" },
{ id: 2, parentId: 1, lastName: "Weber", position: " VP, Engineering" }
]
}
});
</script>
filterable.operators.string.eqString
(default: "Is equal to")
The text of the eq
(equal to) filter operator.
filterable.operators.string.neqString
(default: "Is not equal to")
The text of the ne
(not equal to) filter operator.
filterable.operators.string.isnullString
(default: "Is null")
The text of the isnull
filter operator.
filterable.operators.string.isnotnullString
(default: "Is not null")
The text of the isnotnull
filter operator.
filterable.operators.string.isemptyString
(default: "Is empty")
The text of the isempty
filter operator.
filterable.operators.string.isnotemptyString
(default: "Is not empty")
The text of the isnotempty
filter operator.
filterable.operators.string.startswithString
(default: "Starts with")
The text of the startswith
filter operator.
filterable.operators.string.containsString
(default: "Contains")
The text of the contains
filter operator.
filterable.operators.string.doesnotcontainString
(default: "Does not contain")
The text of the doesnotcontain
filter operator.
filterable.operators.string.endswithString
(default: "Ends with")
The text of the endswith
filter operator.
In this article