Programmatically search a table with jQuery DataTables -


i using jquery datatables 1.10.9 , jquery 1.8.3. i'm trying programmatically search in that, without success.

i tried:

function applyfilter(filter) {     $("#datatable").filter(filter); } 

and

function applyfilter(filter) {     $("#datatable").fnfilter(filter); } 

use search() api method perform search, see code below:

function applyfilter(filter) {     $('#datatable').datatable().search(filter).draw(); } 

Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -