Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

critical deprecation: filter delay functions / plugin #218

Open
gotexis opened this issue Oct 24, 2018 · 1 comment
Open

critical deprecation: filter delay functions / plugin #218

gotexis opened this issue Oct 24, 2018 · 1 comment

Comments

@gotexis
Copy link

gotexis commented Oct 24, 2018

Thank the devs for this great project which I have adopted extensively in my project.

According to DataTable > 1.10, the filter delay options should be set with following options:

$('#example').DataTable( {
  searchDelay: 350
} );

However, currently the project uses fnSetFilteringDelay which is deprecated after DT1.10.

Can someone see how it can be fixed?

@gotexis
Copy link
Author

gotexis commented Oct 24, 2018

My current workaround is as follows:
manually create 'static/js/datatableview.min.js'

put searchDelay below as follows:

options = $.extend({}, datatableview.defaults, opts, {
   "searchDelay": 400,
   "aaSorting": sorting_options,
   "aoColumns": column_options,
   ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant