List Filters
When filtering by column (option filterByColumn:true), the listColumns option allows for filtering columns whose values are part of a list, using a select box instead of the default free-text filter.
For example:
1
options: {
2
filterByColumn: true,
3
listColumns: {
4
animal: [{
5
id: 1,
6
text: 'Dog'
7
},
8
{
9
id: 2,
10
text: 'Cat',
11
hide:true
12
},
13
{
14
id: 3,
15
text: 'Tiger'
16
},
17
{
18
id: 4,
19
text: 'Bear'
20
}
21
]
22
}
23
}
24
Copied!
The values of this column should correspond to the id's passed to the list. They will be automatically converted to their textual representation.
Adding hide:true to an item, will exclude it from the options presented to the user
Last modified 1yr ago
Copy link