queryBuilder: queryBuilder

Description Usage Arguments

Description

create a queryBuilder widget from a series of filters

Usage

1
2
3
4
queryBuilder(data = NULL, filters = list(), autoassign = FALSE,
  rules = NULL, default_condition = "AND", allow_empty = FALSE,
  display_errors = TRUE, display_empty_filter = TRUE, chosen = FALSE,
  width = NULL, height = NULL)

Arguments

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


harveyl888/queryBuilder documentation built on May 17, 2019, 3:05 p.m.