DropDownFilterSettings
Interface
Configures the kendoDropDownFilter directive.
For more information, refer to the articles on using the built-in
kendoDropDownFilter directive with each DropDowns component:
Definition
Package:@progress/kendo-angular-dropdowns
Syntax:
ts
_@Component({
selector: 'my-app',
template: `
<kendo-autocomplete
[data]="data"
[kendoDropDownFilter]="filterSettings">
</kendo-autocomplete>
`
})
class AppComponent {
public data: Array<string> = ["Item 1", "Item 2", "Item 3", "Item 4"];
public filterSettings: DropDownFilterSettings = {
caseSensitive: false,
operator: 'contains'
};
}
Properties
caseSensitive?
boolean
Determines whether the performed search will be case-sensitive or case-insensitive. By default, the performed search is case-insensitive.
fields?
string[]
Determines by which object fields should the filtering be performed against (when using object data).
By default, the filtering will be performed against the specified component textField.
operator?
"startsWith" | "contains"
Determines the operator for the search.
The available options are:
- (Default)
startsWith contains