Demonstration of maintaining selection state when switching between filters — a common pattern in admin dashboards.
Multi-Select Across Different Filters
Select items in one filter, switch to another, and your selections are preserved
This pattern uses a global selection Map that persists across filter changes. Each selected item remembers which filter it was selected from. The select-all checkbox supports indeterminate state for partial selections.
Filter by Status
Active Users
3 items
| Name | Status | Last Login | ||
|---|---|---|---|---|
| Alice Johnson | alice@example.com | active | 2026-03-22 | |
| Bob Smith | bob@example.com | active | 2026-03-21 | |
| Carol White | carol@example.com | active | 2026-03-20 |