API REFERENCE
getConditionPresets
Reads saved advanced condition presets.
What does this API do?
Reads saved advanced condition presets.
API for Pro features: Advanced filter and built-in compound condition editor
Exact input and result types
getConditionPresets(): Promise<Array<{ name: string; json: string }>>| Arguments | Required | Type |
|---|
The return type is Promise<Array<{ name: string; json: string }>>.
Usage flow
After registering and initializing the Grid element, call grid.getConditionPresets(…). Read the return value with await. For methods returning a boolean or report, inspect the result before continuing.
Feature explanations and examples
- Condition trees
Combine conditions across columns in an AND/OR tree to express business rules, such as large APAC orders or orders for a particular product.