fnSetFilteringDelay not working
fnSetFilteringDelay not working
Hi Allan,
Thanks a lot for a great plugin!!
It seems like for the large data sets filter is not more responsive. So I tried to add delay it with fnSetFilteringDelay but I am not getting any delay when i type search key words in the filter box. Below is the code.
[code]
$('#submittedFormTbl').dataTable( {
"bPaginate":true,
"fnInitComplete": function() {
alert( 'DataTables has finished it\'s initialisation.' );
},
"bRetrieve":true,
"bLengthChange":false,
"iDisplayLength":19,
"sScrollY": "365px",
"aaSorting": [[0,'desc']],
"sDom": '<"toolbar">lfrtip',
});
$("div.toolbar").html(''+
'Date Range(YYYY-MM-DD): '+
' to '+
''+
'');
var oTable = $('#submittedFormTbl').dataTable();
oTable.fnSetFilteringDelay(1000);
[/code]
Any Ideas?
Thanks,
-Abhijit
Thanks a lot for a great plugin!!
It seems like for the large data sets filter is not more responsive. So I tried to add delay it with fnSetFilteringDelay but I am not getting any delay when i type search key words in the filter box. Below is the code.
[code]
$('#submittedFormTbl').dataTable( {
"bPaginate":true,
"fnInitComplete": function() {
alert( 'DataTables has finished it\'s initialisation.' );
},
"bRetrieve":true,
"bLengthChange":false,
"iDisplayLength":19,
"sScrollY": "365px",
"aaSorting": [[0,'desc']],
"sDom": '<"toolbar">lfrtip',
});
$("div.toolbar").html(''+
'Date Range(YYYY-MM-DD): '+
' to '+
''+
'');
var oTable = $('#submittedFormTbl').dataTable();
oTable.fnSetFilteringDelay(1000);
[/code]
Any Ideas?
Thanks,
-Abhijit
This discussion has been closed.
Replies
That was discused here: http://datatables.net/forums/comments.php?DiscussionID=2708&page=1