Skip to content

fix(tree-grid): correctly process esf when tree grid grouping is enabled - 21.2.x#17341

Open
mddragnev wants to merge 3 commits into
21.2.xfrom
mdragnev/fix-17293-21.2.x
Open

fix(tree-grid): correctly process esf when tree grid grouping is enabled - 21.2.x#17341
mddragnev wants to merge 3 commits into
21.2.xfrom
mdragnev/fix-17293-21.2.x

Conversation

@mddragnev

@mddragnev mddragnev commented Jun 22, 2026

Copy link
Copy Markdown
Member

Closes #17293

Description

Motivation / Context

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:

How Has This Been Tested?

  • Unit tests
  • Manual testing
  • Automated e2e tests

Test Configuration:

  • Angular version:
  • Browser(s):
  • OS:

Screenshots / Recordings

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 review requested due to automatic review settings June 22, 2026 13:49
@mddragnev mddragnev changed the title Mdragnev/fix 17293 21.2.x fix(tree-grid): correctly process esf when tree grid grouping is enabled - 21.2.x Jun 22, 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.

Pull request overview

Fixes Tree Grid Excel-Style Filtering (ESF) behavior when Tree Grid grouping is applied (closes #17293), ensuring selected ESF items are processed correctly instead of producing an empty grid.

Changes:

  • Adjusts ESF string-value processing to avoid the case-normalization path when the Tree Grid data is grouped (grouping pipe output).
  • Adds Tree Grid grouping + ESF regression tests for (a) selecting 3+ items and (b) preserving checked items after reopen.
  • Enables filtering on the Tree Grid grouping test component columns to allow ESF interaction.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
projects/igniteui-angular/test-utils/tree-grid-components.spec.ts Makes columns filterable in the Tree Grid grouping test component to support ESF tests.
projects/igniteui-angular/grids/tree-grid/src/tree-grid-grouping.spec.ts Adds ESF + grouping regression tests (3+ selections, preserve checked state).
projects/igniteui-angular/grids/core/src/filtering/excel-style/excel-style-search.component.ts Skips the ignore-case “value normalization” path for grouped Tree Grid data; adds grouped detection helper.

Comment on lines +341 to +343
const uncheckedItem = checkboxes.splice(2, 1)[0];
expect(uncheckedItem.checked).toBeFalse();
checkboxes.forEach(c => expect(c.checked).toBeTrue());
Comment on lines 31 to +32
let NEXT_ID = 0;
const TREE_GRID_GROUPING_HIDDEN_FIELD = '_Igx_Hidden_Data_';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants