Skip to content

fix(grid): preselect custom conditions in Excel-style filtering (21.2.x) - #17787

Open
viktorkombov wants to merge 5 commits into
21.2.xfrom
vkombov/fix-17636-21.2.x
Open

viktorkombov wants to merge 5 commits into
21.2.xfrom
vkombov/fix-17636-21.2.x

Conversation

@viktorkombov

Copy link
Copy Markdown
Contributor

Closes #17636

Description

Preselect custom conditions in the Excel-style filter dialog while preserving the built-in fallback.

Motivation / Context

Backport of #17786 to 21.2.x.

Type of Change (check all that apply):

  • Bug fix
  • New functionality
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactoring (no functional changes)
  • Documentation
  • Demos
  • CI/CD
  • Tests
  • Changelog
  • Skills/Agents

Component(s) / Area(s) Affected:

Grid, Tree Grid and Hierarchical Grid — Excel-style filtering.

How Has This Been Tested?

133 ESF tests passed, including three regressions. npm run lint:lib passed.

  • Unit tests
  • Manual testing
  • Automated e2e tests

Test Configuration:

  • Angular version: 21.2.9
  • Browser(s): Chrome Headless 151
  • OS: Windows 11

Screenshots / Recordings

N/A

Checklist:

  • All relevant tags have been applied to this PR
  • This PR includes unit tests covering all the new code (test guidelines)
  • This PR includes API docs for newly added methods/properties (api docs guidelines)
  • This PR includes feature/README.MD updates for the feature docs
  • This PR includes general feature table updates in the root README.MD
  • This PR includes CHANGELOG.MD updates for newly added functionality
  • This PR contains breaking changes
  • This PR includes ng update migrations for the breaking changes (migrations guidelines)
  • This PR includes behavioral changes and the feature specification has been updated with them
  • Accessibility (ARIA, keyboard navigation, focus management) has been verified

Copilot AI balanced review requested due to automatic review settings October 16, 2026 10:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The localized fix preserves built-in fallback behavior, includes targeted regression coverage, and has no identified blocking issues.

0 open findings

What changed in this PR

Backports #17786 to 21.2.x, fixing custom-condition preselection in Excel-style filtering across Grid, Tree Grid, and Hierarchical Grid.

Changes:

  • Resolves conditions from column filters before using built-in defaults.
  • Adds three regression tests for custom conditions and fallback behavior.
  • Documents the fix in the changelog.
File Description
projects/​igniteui-angular/​grids/​grid/​src/​grid-filtering-ui.spec.ts Tests custom string/number preselection and built-in fallback.
projects/​igniteui-angular/​grids/​core/​src/​filtering/​excel-style/​excel-style-custom-dialog.component.ts Prioritizes column-defined filtering conditions.
CHANGELOG.md Records the filtering fix.

🧠 Review effort: Balanced


💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@teodosiah teodosiah added ✅ status: verified Applies to PRs that have passed manual verification and removed ❌ status: awaiting-test PRs awaiting manual verification labels Oct 22, 2026
Comment thread CHANGELOG.md Outdated
Add the missing 21.2.1-21.2.22 sections from the release notes, move the
Excel-style filtering fix to 21.2.23, and add the Copilot Skills entries
that the 21.2.0 section on master already lists.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@viktorkombov
viktorkombov requested a review from kdinev October 26, 2026 07:10

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐛 bug Any issue that describes a bug grid: excel-style-filtering grid version: 21.2.x ✅ status: verified Applies to PRs that have passed manual verification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants