DataTables logo DataTables

via Ad Packs
fnSetFilteringDelay don’t affect from iDelay parameter
  • EhsanChEhsanCh
    Posts: 2
    fnSetFilteringDelay don’t change iDelay parameter and always is 250 , even when using fnSetFilteringDelay(1000).
  • gingin
    Posts: 2
    I'm using dataTable 1.62 with delay plugin 2.2.0, but don't set correctly iDelay parameter.

    I do:

    $('#data_table').dataTable().fnSetFilteringDelay(750);

    but always is a static value (250) defined at line ~23:

    var	iDelay = (iDelay && (/^[0-9]+$/.test(iDelay)) ? iDelay : 250),

    Thanks
  • allanallan
    Posts: 15,472
    Very good point! Thank you for picking that up folks. I've just fixed this an uploaded the updated plug-in: http://datatables.net/plug-ins/api#fnSetFilteringDelay .

    Regards,
    Allan
  • gingin
    Posts: 2
    Yeah, now it works fine!
This discussion has been closed.
← All Discussions

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Support

Get useful and friendly help straight from the source.

In this Discussion