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

Exclude columns from filter, make compatible with multi-column sorting #4

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

jcsjcs
Copy link

@jcsjcs jcsjcs commented Jul 15, 2013

Some columns (e.g. row numbers, columns formatted to display links) should not be able to be filtered.
To ignore the filter, add unfiltered:true to the column definition:

{ id: "rn", name: "row", field: "rn", unfiltered:true }

To remove sorting from the plugin, construct it with new option sortAvailable set to false.

var filterPlugin = new Ext.Plugins.HeaderFilter({sortAvailable: false});

A third example page shows off these features as well as using search and filtering together.

  

@jcsjcs
Copy link
Author

jcsjcs commented Jul 15, 2013

Note this also includes the same fix as for issue #3

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

Successfully merging this pull request may close these issues.

1 participant