field

defines the data field for filtering

string field;

Example

var data = new webix.DataCollection({
  data:grid_data
});
 
webix.ui({
  view:"filter",
  type:"text",
  field:"title",
  data: data,
  on:{
    onChange(){
      const filter = this.getFilterFunction();
      data.filter(obj => filter(obj));
      console.log(data.data.order);
    }
  }
});

Related samples

Details

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

See also
  • Articles
  • Back to top