create a queryBuilder widget from a series of filters
1 2 3 4 |
data |
data frame (optional) used when autoassign is true |
filters |
list of lists containing filter parameters |
autoassign |
Boolean. If true then filter names and types will be assigned based on data frame. In order to use this 'data' must also be supplied |
rules |
A list of queryBuilder rules |
default_condition |
supply the default condition ('AND' or 'OR') |
allow_empty |
Boolean. If true then no validation error is thrown when the builder is entirely empty |
display_errors |
Boolean. If true then an icon and tooltip explaining the error will be displayed |
display_empty_filter |
Boolean. If true then empty option will be included for each rule. If false then the first filter will be selected when creating the rule |
chosen |
Boolean. If true then use jquery chosen (https://github.com/harvesthq/chosen) to select filter for rules |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.