field

defines the data field for filtering

string field;

Example

webix.ui({
  view:"filter",
  mode:"text",
  field:"title",
  data: data,
  on:{
    onChange(){
      const filter = this.getFilterFunction();
      data.filter(obj => filter(obj));
    }
  }
});

Related samples

Details

The field value corresponds to the name of the related data field in the dataset.

See also
  • Articles
  • Back to top