value

sets the initial value for a filter

object value;

Example

webix.ui({
  view:"filter",
  type:"number",
  value:{
    "condition": {
      "filter": "9",
      "type": ">="
    },
    "includes": [
      9
    ]
  },
});

Details

The value object contains the following properties:

  • condition - a set of filtering conditions with the following properties:
    • filter - the entered filter value;
    • type - the filter rule;
  • includes - an array of selected values. If values are not selected - the parameter will return an empty array.
See also
Back to top