Skip to content

DataGrid - Fix lookup filter changing to "(All)" after searching twice in another column (T1284002)#32969

Open
markallenramirez wants to merge 3 commits intoDevExpress:26_1from
markallenramirez:bug_T1284002/26_1
Open

DataGrid - Fix lookup filter changing to "(All)" after searching twice in another column (T1284002)#32969
markallenramirez wants to merge 3 commits intoDevExpress:26_1from
markallenramirez:bug_T1284002/26_1

Conversation

@markallenramirez
Copy link
Contributor

No description provided.

@markallenramirez markallenramirez self-assigned this Mar 19, 2026
@markallenramirez markallenramirez requested a review from a team as a code owner March 19, 2026 07:52
Copilot AI review requested due to automatic review settings March 19, 2026 07:52
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds an end-to-end regression test to ensure DataGrid filter row lookup selections are preserved when the user types into another column’s filter editor multiple times (T1284002).

Changes:

  • Added SelectBox usage in the filter row functional TestCafe suite.
  • Added a new TestCafe test that selects a lookup filter value, types into a text filter twice, and asserts the lookup filter remains unchanged.

|| !equalByValue(editorDataSource.__dataGridSourceFilter || null, filter);

if (shouldUpdateFilter) {
const selectedItem = editor.option('selectedItem');
Copy link
Contributor

Choose a reason for hiding this comment

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

minor: it is preferable to use destructurization from options() instead of getting option by name
in that case it will not lose types if editor properly typed

const { selectedItem, items = [] } = editor.option();

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants