Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82446

Search callback to add more rows to the search result

$
0
0

Hi all, I am looking at combining DataTables search with another (separate) search and hoping that before I call draw() I can insert more rows to the search results if necessary. Is it possible?

So for example I have a table with 1000 rows, and upon calling table.search('myquery') I know that I will get, for example, 16 rows and I will do another search (using another tool) and I get 4 relevant rows that are not already in the search result to add. So that when I call draw() I will end up with 20 rows.


Viewing all articles
Browse latest Browse all 82446

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>