Accumulate Filter using filter()?
Accumulate Filter using filter()?

Hi!
Sad news, my proposed design for dashboard filter using Search Panes is rejected by our client. So I have to create a custom filter which accumulates the selected filter. My question is that can use filter() to accumulate selected filter ? I'm using datatables for our tables.
Thanks for any suggestion.
This question has accepted answers - jump to:
This discussion has been closed.
Answers
What do you mean by accumulate filter?
The
filter()
API does not perform searches of the table, from the docs:Are you looking for something like this example which uses select2?
http://live.datatables.net/jetupuda/1/edit
Kevin
Oh. sorry about that, so search() methods is the who search for the records.
Thanks for the link, Its exactly what im looking for. Gonna try to apply this to my work to see if it works for me. Many Thanks Sir, Kevin
Question, Can I populate a select element outside the datatable with the data inside the table?
This example here shows how to create a
select
element within the table's footer - thatselect
could be anywhere in the DOM, so that code could still be used,Colin