Skip to main content

regenerateIDs()

regenerateIDs(ruleOrGroup: RuleGroupType | RuleGroupTypeIC, __namedParameters: RegenerateIdOptions): RuleGroupType | RuleGroupTypeIC

Defined in: packages/react-querybuilder/src/utils/regenerateIDs.ts:30

Recursively generates new id properties for a group and all its rules and subgroups.

Parameters

ParameterType
ruleOrGroupRuleGroupType | RuleGroupTypeIC
__namedParametersRegenerateIdOptions

Returns

RuleGroupType | RuleGroupTypeIC


caution

API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.