fnSetFilteringDelay not working

fnSetFilteringDelay not working

akarwaakarwa Posts: 1Questions: 0Answers: 0
edited March 2011 in Plug-ins
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

Replies

  • david.dlccdavid.dlcc Posts: 7Questions: 0Answers: 0
    i have the same problem. No mather wich value of time i write, it doesn't wait. I'm using last datatables version 1.7.6
  • david.dlccdavid.dlcc Posts: 7Questions: 0Answers: 0
    edited May 2011
    in my case seems to be a problem with "oLanguage".

    That was discused here: http://datatables.net/forums/comments.php?DiscussionID=2708&page=1
This discussion has been closed.