list.js icon indicating copy to clipboard operation
list.js copied to clipboard

Is it possible to exclude item from search or filtering?

Open otti242 opened this issue 4 years ago • 1 comments

I have a list with some headlines between elements and I want to exclude them from filtering that they are always visible.

otti242 avatar Mar 10 '20 12:03 otti242

Hmmm... Maybe you already got a solution, but for this just use the function and set true for those items you want to always show, for example:

myList.filter(function(items){
return items.values()['always-visible'] === 'value' || items.values()['filter-value'] === 'filter-from-form'
});

thewasta avatar Mar 19 '20 14:03 thewasta