lists/src/filter/filter.ts
Properties |
Methods |
Accessors |
constructor(querying: BlueriqQuerying, session: BlueriqSession, table: Table)
|
||||||||||||
Parameters :
|
currentColumns |
Type : ColumnFilter[]
|
All currently available columns to filter on. |
currentFilters |
Type : FilteredColumn[]
|
All currently active column filters. |
apply | ||||||
apply(filters: FilteredColumn[])
|
||||||
Applies the new set of filters and triggers a refresh.
Parameters :
Returns :
void
|
applyColumn | |||||||||
applyColumn(column: ColumnFilter, predicates: FilterPredicate[])
|
|||||||||
Modifies the current filter predicates such that any previous predicates for the column are cleared, and the newly provided ones are added. Doing so causes the list to refresh.
Parameters :
Returns :
void
|
clear |
clear()
|
Clears all filters and refreshes the list.
Returns :
void
|
clearColumn | ||||||
clearColumn(column: ColumnFilter)
|
||||||
Clears all filter predicates for a given column, causing the list to refresh.
Parameters :
Returns :
void
|
forColumn | ||||||
forColumn(column: ColumnFilter)
|
||||||
Accesses all filter predicates for a given column.
Parameters :
Returns :
FilterPredicate[]
|
isColumnFiltered | ||||||
isColumnFiltered(column: ColumnFilter)
|
||||||
Determines whether the column currently has any filter predicates.
Parameters :
Returns :
boolean
|
updated$ |
getupdated$()
|
Emits a signal, the instance itself, when the current filters are updated.
Returns :
Observable<>
|