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

Add option to preselect one or many filter values, so the table loads already filtered #27

Open
AltiusRupert opened this issue Sep 23, 2013 · 2 comments
Labels

Comments

@AltiusRupert
Copy link

Unlike oTable.fnFilter('value', colNumber), I want this to appear as if a column had be filtered manually, which the user then has the option to change (by removing this filter or adding others).

This will help accelerate loading large data sets, I hope.

@cyberhobo
Copy link
Owner

I think the whole table is loaded regardless before filtering. You could test this independently of ColumnFilterWidgets with an initial search:

$(document).ready( function() {
  $('#example').dataTable( {
    "oSearch": {"sSearch": "Initial search"}
  } );
} )

@NicoFerna
Copy link

I believe this would be a valuable add-on. Would make it possible to pre-filter based on a user's preferences (for example) but still give the option for the user to remove that filter.

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

No branches or pull requests

3 participants