Skip to content

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

Open
jcsjcs wants to merge 8 commits intodanny-sg:masterfrom
jcsjcs:master
Open

Exclude columns from filter, make compatible with multi-column sorting#4
jcsjcs wants to merge 8 commits intodanny-sg:masterfrom
jcsjcs:master

Conversation

@jcsjcs
Copy link
Copy Markdown

@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
Copy Markdown
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