API REFERENCE

setConditionPresets

Sets advanced condition presets containing names and JSON.

What does this API do?

Sets advanced condition presets containing names and JSON.

API for Pro features: Advanced filter and built-in compound condition editor

Exact input and result types

typescript
setConditionPresets(presets: ReadonlyArray<{ name: string; json: string }>): Promise<void>
ArgumentsRequiredType
presetsRequiredReadonlyArray<{ name: string; json: string }>

The return type is Promise<void>.

Usage flow

After registering and initializing the Grid element, call grid.setConditionPresets(…). Read the return value with await. For methods returning a boolean or report, inspect the result before continuing.

Feature explanations and examples