# conditionBuilder

Displays a condition builder combining conditions with AND and OR.

Canonical: https://grid.syidax.com/docs/options/conditionBuilder/

<a id="meaning"></a>

## What does this API do?

Displays a condition builder combining conditions with AND and OR.

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

<a id="contract"></a>

## Exact input and result types

```typescript
conditionBuilder: boolean
```

| Item | Value |
| --- | --- |
| JavaScript name | conditionBuilder |
| HTML attribute | condition-builder |
| Default | false |
| Input type | boolean |

<a id="usage"></a>

## Usage flow

Set this on a property of the Grid element. In HTML, you can also use the condition-builder attribute. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.

<a id="recipes"></a>

## Feature explanations and examples

- [Condition trees](https://grid.syidax.com/docs/features/advanced-filter.md) — Combine conditions across columns in an AND/OR tree to express business rules, such as large APAC orders or orders for a particular product.
