Skip to content

fix(grid): preselect custom conditions in Excel-style filtering - #17786

Open
viktorkombov wants to merge 1 commit into
masterfrom
vkombov/fix-17636
Open

viktorkombov wants to merge 1 commit into
masterfrom
vkombov/fix-17636

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

Custom operands were blank when opening the dialog before entering a filter value.

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?

147 ESF tests passed, including three regressions. Strict TypeScript/Angular compilation and npm run lint:lib passed.

  • Unit tests
  • Manual testing
  • Automated e2e tests

Test Configuration:

  • Angular version: 22.2.0
  • 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:25
@viktorkombov viktorkombov added 🐛 bug Any issue that describes a bug ❌ status: awaiting-test PRs awaiting manual verification grid: excel-style-filtering grid labels Oct 16, 2026

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 fallback behavior, includes targeted regression coverage, and has no identified blocking issues.

0 open findings

What changed in this PR

Fixes #17636 by preselecting custom conditions when opening the grids’ Excel-style filter dialog before entering a value.

Changes:

  • Resolves conditions from column filters first, preserving the built-in fallback.
  • Adds string, number, and fallback regression tests.
  • Documents the fix in the changelog.
File Description
projects/​igniteui-angular/​grids/​grid/​src/​grid-filtering-ui.spec.ts Adds three regression tests.
projects/​igniteui-angular/​grids/​core/​src/​filtering/​excel-style/​excel-style-custom-dialog.component.ts Prioritizes custom condition lookup.
CHANGELOG.md Records the fix for all three grid types.

🧠 Review effort: Balanced


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

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 ❌ status: awaiting-test PRs awaiting manual verification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Grids]: Custom filtering operand title is not filled in ESF dialog operand dropdown

3 participants