Skip to main content

Advanced Filter

Enable Advanced filter

To enable the advanced filter, set the value of the enableAdvancedFilter variable in QueryBuilder to true:

this.queryBuilder = QueryBuilder.builder(Entity.class, entityManager)
.colDefs(
// colDefs
)
.enableAdvancedFilter(true) // enable advanced filtering
.build();

For a column to be filterable in the Advanced Filter, it must have a filter defined in its ColDef.

If a column does not have a filter set in ColDef, attempting to apply an Advanced Filter on it will result in an exception.

Filter Params

Filter parameters are taken from ColDef.

Grid using Server Side Advanced Filter