list.js
list.js copied to clipboard
Is it possible to exclude item from search or filtering?
I have a list with some headlines between elements and I want to exclude them from filtering that they are always visible.
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'
});