mode
defines the type of data to which the filter will be applied to
mode;
Values
"text"
will be applied to the "string" field type
"number"
will be applied to the "number" field type
"date"
will be applied to the "date" field type
Example
webix.ui({
view:"filter",
mode:"text",
field:"title",
data: data,
on:{
onChange(){
const filter = this.getFilterFunction();
data.filter(obj => filter(obj));
}
}
});
Default value:
"number"
Related samples
See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support,
connect with other developers, and share your feedback there.