Created
February 26, 2014 23:22
-
-
Save krosenberg/9240946 to your computer and use it in GitHub Desktop.
custom backgrid search filters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) include <script src="{{STATIC_URL}}v2/js/backgrid-custom.js" type="text/javascript"></script> after the final backgrid js file. | |
2) use the following to render a filter: | |
var processGroupFilter = new simpleFilter({ | |
collection: this.collection, | |
placeholder: "Search Process Groups", | |
fields: ["name", "template", "target"]; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment