How can I set the default text value for the input field for the columnfilter plugin for the datatables api?
$(document).ready(function () {
var t1 = $( '#test').dataTable({
}).columnFilter();
My table has several columns and I have tried setting the input box to have a default serach value as:
$("input:eq(6)").val("myDefaultValue");
But this just displays myDefultValue in the search box , but doe not apply the filter.
I also tried triggering change and keydown, but both fail.
I am testing in Chrome, any ideas?