FilterBuilder properties overview
fields | Required. An array of objects with fields data |
options | Required. An object with field options or a function that receives field id and returns options |
type | Optional. Defines the type of the FilterBuilder presentation |
value | Optional. An object with filtering rules |
FilterBuilder actions overview
add-group | Fires when adding a nested group with a filtering rule in it |
add-rule | Fires when adding a filtering rule |
change | Fires when changes are made and applied via the user interface |
change-rule | Fires when changing a filtering rule |
delete-rule | Fires when deleting a filtering rule |
edit-rule | Fires when opening the filter editor form |
toggle-glue | Fires when toggling the filtering logic |
update-rule | Fires when finalizing changes made to a filtering rule |
FilterBuilder methods overview
api.on() | Allows attaching a handler to the inner events |
api.exec() | Allows triggering the FilterBuilder actions |
api.getReactiveState() | Gets the state object that stores current values of most FilterBuilder properties |
api.getState() | Gets the state object that stores current values of most FilterBuilder properties |
api.getValue() | Gets the filter configuration object |
api.intercept() | Allows intercepting and blocking/modifying actions |
api.setNext() | Allows adding some action into the Event Bus order |