Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ include::example$onboarding/src/main/resources/com/company/onboarding/view/compo
<3> The `genericFilter` component is bound to the loader through its `dataLoader` attribute.
<4> xref:flow-ui:vc/components/dataGrid.adoc[`dataGrid`] displaying the data from the data container. The list of records will change as they are filtered.

[NOTE]
====
The data loader can have its own *base condition*, set in the loader's `condition` element or programmatically via `DataLoader.setCondition()`. `genericFilter` does not replace it: the active configuration's condition is combined with the base condition as `base AND configuration`, including when you switch between configurations.

To change the base condition, set a new `Condition` object via `DataLoader.setCondition()`. Modifying the object returned by `DataLoader.getCondition()` in place, without setting a new reference, is ignored by the filter: the change is not picked up and is overwritten the next time the filter rebuilds the loader condition (a direct `DataLoader.load()` before that rebuild reads the modified object, but the filter does not preserve it).
====

[[quick-filter-example]]
== Quick Filter Example

Expand Down