TX Sheet Control

ConditionalRule Interface

Interface

Native conditional rule payload. Additional validated fields depend on the rule type.

Package: @txtextcontrol/tx-sheet-control. Version: 2.0.0.

Type-only declaration; it is not a JavaScript runtime constructor.

Members

Properties

PropertyDescription
formattingThe formatting value of ConditionalRule.
idThe id value of ConditionalRule.
rangesThe ranges value of ConditionalRule.
typeThe type value of ConditionalRule.

Examples

Pass the ConditionalRule value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.

import type { ConditionalRule } from '@txtextcontrol/tx-sheet-control';

function inspectConditionalRuleId(conditionalRule: ConditionalRule) {
    const value = conditionalRule['id'];
    console.log('ConditionalRule.id', value);
}

See Also