Cross-Grid Filter Synchronization
Propagates filter models between grids. A field mapping is used when the column names differ between grids. A single filter input can then narrow several related views at once.
Planned. This page shows the specification from issue #206. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
A Sales grid and a Returns grid. Sales 'region' is mapped to Returns 'salesRegion'.
Expected behavior
Setting a region filter in Sales applies the equivalent filter in Returns, and clearing it clears both. Filters on fields that have no mapping are either ignored or reported, depending on the toggle.
Planned API surface
syncOptions.filterfilterFieldMapfilterChangedsetFilterModelAcceptance criteria
- Mapped filters are translated to the peer's field names (pending)
- When ignoreUnmapped is false, unmapped filters emit a syncWarning event (pending)
- Clearing the filter in either grid clears the mapped filter in its peers (pending)