UseRuleGroup
Defined in: packages/react-querybuilder/src/components/RuleGroup.tsx:410
RuleGroup props.
Extends
Properties
accessibleDescription
accessibleDescription:
string
Defined in: packages/react-querybuilder/src/components/RuleGroup.tsx:413
actions
actions:
QueryActions
Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:620
Inherited from
addGroup
addGroup:
ActionElementEventHandler
Defined in: packages/react-querybuilder/src/components/RuleGroup.tsx:411
addRule
addRule:
ActionElementEventHandler
Defined in: packages/react-querybuilder/src/components/RuleGroup.tsx:412
classNames
classNames:
Pick
<{ [k in keyof Classnames]: string }
,"header"
|"shiftActions"
|"dragHandle"
|"combinators"
|"notToggle"
|"addRule"
|"addGroup"
|"cloneGroup"
|"lockGroup"
|"removeGroup"
|"body"
>
Defined in: packages/react-querybuilder/src/components/RuleGroup.tsx:414
cloneGroup
cloneGroup:
ActionElementEventHandler
Defined in: packages/react-querybuilder/src/components/RuleGroup.tsx:428
combinator?
optional
combinator:string
Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:657
Deprecated
Use the combinator
property of the ruleGroup
prop instead
Inherited from
context?
optional
context:any
Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:625
Inherited from
disabled?
optional
disabled:boolean
Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:621
Inherited from
dragMonitorId?
optional
dragMonitorId:string
|symbol
Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:633
Inherited from
dragRef?
optional
dragRef:Ref
<HTMLSpanElement
>
Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:637
Inherited from
dropEffect?
optional
dropEffect:DropEffect
Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:640
"move"
by default; "copy"
if the modifier key is pressed.
Inherited from
dropMonitorId?
optional
dropMonitorId:string
|symbol
Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:635
Inherited from
dropRef?
optional
dropRef:Ref
<HTMLDivElement
>
Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:638
Inherited from
groupItems?
optional
groupItems:boolean
Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:642
True if the dragged and hovered items should form a new group.
Inherited from
id?
optional
id:string
Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:615
Inherited from
isDragging?
optional
isDragging:boolean
Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:632
Inherited from
isOver?
optional
isOver:boolean
Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:634
Inherited from
not?
optional
not:boolean
Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:665
Deprecated
Use the not
property of the ruleGroup
prop instead
Inherited from
onCombinatorChange
onCombinatorChange:
ValueChangeEventHandler
Defined in: packages/react-querybuilder/src/components/RuleGroup.tsx:429
onGroupAdd()
onGroupAdd: (
group
:RuleGroupTypeAny
,parentPath
:Path
,context?
:any
) =>void
Defined in: packages/react-querybuilder/src/components/RuleGroup.tsx:430
Parameters
Parameter | Type |
---|---|
group | RuleGroupTypeAny |
parentPath | Path |
context? | any |
Returns
void
onIndependentCombinatorChange()
onIndependentCombinatorChange: (
value
:any
,index
:number
,context?
:any
) =>void
Defined in: packages/react-querybuilder/src/components/RuleGroup.tsx:431
Parameters
Parameter | Type |
---|---|
value | any |
index | number |
context? | any |
Returns
void
onNotToggleChange()
onNotToggleChange: (
checked
:boolean
,context?
:any
) =>void
Defined in: packages/react-querybuilder/src/components/RuleGroup.tsx:432
Parameters
Parameter | Type |
---|---|
checked | boolean |
context? | any |
Returns
void
outerClassName
outerClassName:
string
Defined in: packages/react-querybuilder/src/components/RuleGroup.tsx:433
parentDisabled?
optional
parentDisabled:boolean
Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:617
Inherited from
path
path:
Path
Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:616
Inherited from
pathsMemo
pathsMemo: {
disabled
:boolean
;path
:Path
; }[]
Defined in: packages/react-querybuilder/src/components/RuleGroup.tsx:434
disabled
disabled:
boolean
path
path:
Path
previewRef?
optional
previewRef:Ref
<HTMLDivElement
>
Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:636
Inherited from
removeGroup
removeGroup:
ActionElementEventHandler
Defined in: packages/react-querybuilder/src/components/RuleGroup.tsx:435
ruleGroup
ruleGroup:
RuleGroupType
<RuleType
<string
,string
,any
,string
>,string
> |RuleGroupTypeIC
<RuleType
<string
,string
,any
,string
>,string
>
Defined in: packages/react-querybuilder/src/components/RuleGroup.tsx:436
Overrides
rules?
optional
rules:RuleOrGroupArray
Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:661
Deprecated
Use the rules
property of the ruleGroup
prop instead
Inherited from
schema
schema:
Schema
<{[key
:string
]:unknown
;disabled?
:boolean
;label
:string
;name
:string
;value
:string
; },string
>
Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:619
Inherited from
shiftDownDisabled?
optional
shiftDownDisabled:boolean
Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:623
Inherited from
RuleGroupProps
.shiftDownDisabled
shiftGroupDown()
shiftGroupDown: (
event?
:MouseEvent
<Element
,MouseEvent
>,context?
:any
) =>void
Defined in: packages/react-querybuilder/src/components/RuleGroup.tsx:437
Parameters
Parameter | Type |
---|---|
event? | MouseEvent <Element , MouseEvent > |
context? | any |
Returns
void
shiftGroupUp()
shiftGroupUp: (
event?
:MouseEvent
<Element
,MouseEvent
>,context?
:any
) =>void
Defined in: packages/react-querybuilder/src/components/RuleGroup.tsx:438
Parameters
Parameter | Type |
---|---|
event? | MouseEvent <Element , MouseEvent > |
context? | any |
Returns
void
shiftUpDisabled?
optional
shiftUpDisabled:boolean
Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:622
Inherited from
RuleGroupProps
.shiftUpDisabled
toggleLockGroup
toggleLockGroup:
ActionElementEventHandler
Defined in: packages/react-querybuilder/src/components/RuleGroup.tsx:439
translations
translations:
Translations
Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:618
Inherited from
validationClassName
validationClassName:
string
Defined in: packages/react-querybuilder/src/components/RuleGroup.tsx:440
validationResult
validationResult:
boolean
|ValidationResult
Defined in: packages/react-querybuilder/src/components/RuleGroup.tsx:441
API documentation is generated from the latest commit on the main
branch. It may be somewhat inconsistent with official releases of React Query Builder.