API REFERENCE
conditionFilterChanged
Emitted when the AND/OR condition tree changes. A null model means advanced conditions were cleared.
What does this API do?
Emitted when the AND/OR condition tree changes. A null model means advanced conditions were cleared.
API for Pro features: Advanced filter and built-in compound condition editor
Exact input and result types
conditionFilterChanged: { model: ConditionNode | null }Usage flow
Subscribe with grid.addEventListener('conditionFilterChanged', handler). The result is in event.detail, and event names are case-sensitive. Remove subscriptions when disposing of the view.
const controller = new AbortController();
grid.addEventListener('conditionFilterChanged', event => {
console.log(event.detail);
}, { signal: controller.signal });
// On view disposal: controller.abort();Read related types
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.