fnSetFilteringDelay don’t affect from iDelay parameter

fnSetFilteringDelay don’t affect from iDelay parameter

EhsanChEhsanCh Posts: 2Questions: 0Answers: 0
edited April 2010 in Bug reports
fnSetFilteringDelay don’t change iDelay parameter and always is 250 , even when using fnSetFilteringDelay(1000).

Replies

  • gingin Posts: 2Questions: 0Answers: 0
    edited April 2010
    I'm using dataTable 1.62 with delay plugin 2.2.0, but don't set correctly iDelay parameter.

    I do:

    [code]$('#data_table').dataTable().fnSetFilteringDelay(750);[/code]

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

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

    Thanks
  • allanallan Posts: 57,300Questions: 1Answers: 9,127 Site admin
    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: 2Questions: 0Answers: 0
    Yeah, now it works fine!
This discussion has been closed.