Skip to main content

Filter

Filter is a component that allows setting custom filters for later use in workflows.

Properties

Filter

Filters

Place that stores available filter list. Can be populated manually but it's advised to link it to the data store for data persistence and availability.

Filters is an array consisting of following objects:

  • Id - filter Id
  • IsEnabled - filter status
  • columnName - Name of the column the filtering will happen on
  • dataType - data type of filter values can be number, string, boolean, date
  • criteriaMatch - the way filter matches the expectation. Can be all, any
  • criteria - an array of criterias to match by, array of objects { operator, value }

SDD Table

When linked to the SDD allows automatic detection of columns available to filter on. To manually configure columns to filter on, or to override the config properties of some columns, use Column overrides

Manual columns/column overrides

Manual configuration of columns to filter on. Used to either extend/override SDD table or to create completely custom manually created list. Takes an array of objects.

  • name - column name to filter on
  • displayName - column name to display
  • datatype - can be text, boolean, number, date, enum
  • enumValues - used when datatype is set to enum. Takes an array of strings. It's a list of available enums
  • enableAutocomplete - when true the inputbox will have autocomplete. Note: performance might decrease when more than 10000 unique values within column

Quick Filters

Sets a dropdown list of quick filters as part of add filter button. Takes an array of objects with following properties:

  • name - name of the column to filter on
  • label - display name on the dropdown list
  • dialogTitle - title of the dialog box shown after selecting this quick filter
  • multiple - whether it should allow multiple entries
  • filterOperator - enum, either equals or contains, operator to filter values in column

Match

Defines how the filters should be matched. Either All or Any

Display Options

Hide Criteria

When set to true the additional info below each filter is not displayed

Hide Match

When set to true the drodpown at the top is not displayed

Hide Add

When set to true the add filter button is not displayed

Hide Edit

When set to true filter edit button is not displayed

Hide Delete

When set to true filter delete button is not displayed