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

Programmatic manipulation of the search box?

$
0
0
Hullo,

So I'd like to click on a field in the dataTable and have the table filter by that keyword.

Easy to do with a call to fnFilter, but then I have to have another button the user has to click to clear the filter, plus there is no visible indication the table is in a filtered state.

What I'd like to do is take the content of the field, put it into the dataTables search box so that (a) there's a visible cue to the filter, and (b) the user could delete it there to restore the table to its unfiltered state.

Is this possible?

Thanks!

Iain

Viewing all articles
Browse latest Browse all 82117

Trending Articles



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