Interface: QueryActions
react-querybuilder.QueryActions
Functions included in the actions
prop passed to every subcomponent.
Methods
moveRule
moveRule(oldPath
, newPath
, clone?
): void
Parameters
Name | Type |
---|---|
oldPath | Path |
newPath | Path | "up" | "down" |
clone? | boolean |
Returns
void
Defined in
packages/react-querybuilder/src/types/props.ts:261
onGroupAdd
onGroupAdd(group
, parentPath
, context?
): void
Parameters
Name | Type |
---|---|
group | RuleGroupTypeAny |
parentPath | Path |
context? | any |
Returns
void
Defined in
packages/react-querybuilder/src/types/props.ts:250
onGroupRemove
onGroupRemove(path
): void
Parameters
Name | Type |
---|---|
path | Path |
Returns
void
Defined in
packages/react-querybuilder/src/types/props.ts:251
onPropChange
onPropChange(prop
, value
, path
): void
Parameters
Name | Type |
---|---|
prop | "value" | "disabled" | "field" | "operator" | "valueSource" | "combinatorPreceding" | "combinator" | "rules" | "not" |
value | any |
path | Path |
Returns
void
Defined in
packages/react-querybuilder/src/types/props.ts:252
onRuleAdd
onRuleAdd(rule
, parentPath
, context?
): void
Parameters
Name | Type |
---|---|
rule | RuleType <string , string , any , string > |
parentPath | Path |
context? | any |
Returns
void
Defined in
packages/react-querybuilder/src/types/props.ts:259
onRuleRemove
onRuleRemove(path
): void
Parameters
Name | Type |
---|---|
path | Path |
Returns
void