Multiple filter in table
See original GitHub issueHello, I’d like to request a feature of multiple filters. For example below there is a table with a search box and a predefined filter (select box).
Filtering is processed by ajax, and It will be nice to have something like
<input v-model="filter.search" />
<select v-model="filter.roleId"> ... </select>
<b-table :filter="filter" :items="itemsProvider">...</b-table>
and then get
filter: {
search: 'john',
roleId: 1
}
inside ctx of itemsProvider, so I could get users with both name like ‘john’ and roleId equals 1 from my api.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:16
- Comments:13
Top Results From Across the Web
Apply Multiple Filters to Columns in Excel & Google Sheets
If you have a table with multiple columns in Excel, you can filter the data by multiple columns at once. Say you have...
Read more >Can you have multiple filter tables on one sheet?
Hi I am trying to use several filter tables on one summary sheet but Excel seems to only allow one filter table at...
Read more >Filter table with multiple filters - javascript - Stack Overflow
Filter table rows - Multiple filters · Create a function filterColumns( $someTableTarget ) that accepts as argument the jQuery wrapped ...
Read more >DAX Table Function With Multiple Filters
DAX Table Function With Multiple Filters ... Hi experts,. I need help creating a table function that transforms a singular source table based...
Read more >How to apply multiple filtering criteria by combining AND and ...
Applying multiple criteria against different columns to filter the data set in Microsoft Excel sounds difficult but it really isn't as hard ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello!! I solved the problem with a computed method and Array.prototye.filter()
For an alternative, I’ve got it worked by
watch
-ing the modelfilters
thenrefresh
the table. Therefresh
will trigger theitemsProvider