setValue

sets a value for Filter (fields and rules for filtering)

void setValue(object value, [any config] );
value
objectthe object with fields and rules config
anyoperation config

Example

$$("filter").setValue({
  "condition": {
    "filter": "9",
    "type": ">="
  },
  "includes": [9]
});

Details

In order to set a value for Filter, you need to pass an object with the following properties:

The second parameter can be of any type (from a string to an object). config will be passed to the onChange event as the last parameter.

See also
  • API
  • 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.