filter-list
Last updated
filter-list adaptor filters values in a list based on a search criteria or regular expression.
Provides two lists as outputs, one containing values that match the search criteria and one containing values that do not match the search criteria.
list
Type: list
Required: Yes
The list to be filtered.
filter type
Type: text
Required: Yes
The type of filter applied.
filter value
Type: text
Required: No
A text or a regular expression to be searched for within the datatable columns. When a range is needed, please use this format: number,number
match diacritics
Type: boolean
Required: No
When set to True, letters with and without diacritics are treated as equivalent when matching values, e.g., Perú = Peru. If unspecified, defaults to True.
case sensitive
Type: boolean
Required: No
When set to True, lowercase and uppercase letters are treated as different when comparing text values. When set to False, lowercase and uppercase letters are treated as equivalent. If unspecified, defaults to False
values
Type: list
A list with the values that match the testing pattern.
complementary
Type: list
A list with the values that do not match the testing pattern.
list:
Jan
Feb
Mar
Apr
May
June
filter type: starts-with
filter value: J
match diacritics: null
case sensitive: null
values:
Jan
June
complementary:
Feb
Mar
Apr
May
-> Filtered the list for all the words starting with the letter J
list:
"Perú"
"Peru"
"perú"
"peru"
filter type: equals
filter value: peru
match diacritics: True
case sensitive: True
values:
"peru"
complementary:
"Perú"
"Peru"
"perú"
-> Filtered the list for all the words that are equal to peru with case sensitive and match diatrics set to True.
Last updated