OptionalalertOptionalalertOptionalalertOptionalauthorWho authored this change. Recorded on the commit (ICommit.getAuthor).
OptionalautoIf true or set then this will select the affect item after the transaction is complete.
OptionalconditionThe predicate a value must satisfy to be valid.
Whether blanks pass is part of the predicate and lives here as ICondition.Properties.includeBlanks — IDataValidation.isIncludeBlanks reads through to it.
OptionaldescriptionA human description.
OptionalexpectedOptimistic concurrency guard. If set, the operation only begins if the store's current commit id matches; otherwise a TransactionConflictError is thrown.
OptionalhideSuppresses the in-cell dropdown arrow of a list validation. Rendering only; validation is unaffected.
OptionalimeInput Method Editor mode for East Asian text entry.
OptionalindexPosition in the collection. 0 is first — for a conditional format, the highest priority.
OptionalpromptOptionalpromptOptionalreadDeclares the operation read-only: any state update within it throws.
Writes are tracked automatically — a batch that performs no updates never creates a commit (no new commit id, no events, no undo entry) whether or not this is set. The flag is purely an assertion for callers that want the guarantee enforced. Nested transactions inherit it; they cannot opt back out.
OptionalreplaceRedefine the item already at index instead of inserting, when it is anchored to exactly
the same ranges (discontiguous ranges compare area by area, in authored order).
Only the item at index is considered, as in Excel. What counts as the same item is per
collection: a data validation or protected range matches on ranges alone; a conditional
format only redefines a scale rule (data bar, color scale, icon set) of the same kind —
a style rule always inserts, since several may apply to one cell, whereas a second scale
of one kind on the same ranges could never render.
OptionalshowOptionalshow
Options for adding a data validation to the collection.
Remarks
replaceExistingredefines the validation atindexwhen it covers exactly the same ranges — see IAnchored.AddOptions.replaceExisting.