Advanced Numeric Filter Issue On Demo & Hosted Environment #1502

Closed
opened 2026-01-29 17:54:33 +00:00 by claunia · 0 comments
Owner

Originally created by @kerajel on GitHub (Nov 28, 2024).

Reproduced on Demo

To reproduce
Go to 'DataGrid Advanced Filter Mode' demo
Define filter on 'Id' column: Equals 1 (first advanced filter input) OR Equals 2 (second advanced filter input)
Press 'Apply'

Expected result
Entries with ids 1 and 2 are filtered

Actual result
Entry with id 2 is filtered

Press 'Clear'

Expected result
Filter on 'Id' column is reset

Actual result
Filter on 'Id' column is set to filter on 'Id' = 1

Reproduced on Hosted Environment

The similar behavior is observed on our hosted stand where we have the on-demand 'LoadData' event

Prerequisites
RadzenDataGrid with advanced filtering, numeric columns, explicit 'LoadData' event

To reproduce

Negative case
Define an advanced filter on a numeric column, e.g.:
'Id' = 1 (first advanced filter input) OR 'Id' = 2 (second advanced filter input)
Click apply directly after typing in '2'

Expected result
Entries with ids '1' and '2' are filtered

Actual result
Only entry with 'Id' = 1 is filtered, if the filter is reopened, the '2' value in the second input is lost

Positive case
Define an advanced filter on a numeric column, e.g.:
'Id' = 1 OR 'Id' = 2
Do not click 'Apply' right away, focus filter's frame by clicking on it
Click 'Apply'

Expected result = Actual result
Entries with ids '1' and '2' are returned

Related commits: 0b3628e085, 652e08ebbe

Radzen.Blazor Version=5.6.8

Originally created by @kerajel on GitHub (Nov 28, 2024). # Reproduced on Demo **To reproduce** Go to 'DataGrid Advanced Filter Mode' demo Define filter on 'Id' column: Equals 1 (first advanced filter input) OR Equals 2 (second advanced filter input) Press 'Apply' **Expected result** Entries with ids 1 and 2 are filtered **Actual result** Entry with id 2 is filtered Press 'Clear' **Expected result** Filter on 'Id' column is reset **Actual result** Filter on 'Id' column is set to filter on 'Id' = 1 # Reproduced on Hosted Environment The similar behavior is observed on our hosted stand where we have the on-demand 'LoadData' event **Prerequisites** RadzenDataGrid with advanced filtering, numeric columns, explicit 'LoadData' event **To reproduce** **Negative case** Define an advanced filter on a numeric column, e.g.: 'Id' = 1 (first advanced filter input) OR 'Id' = 2 (second advanced filter input) Click apply directly after typing in '2' **Expected result** Entries with ids '1' and '2' are filtered **Actual result** Only entry with 'Id' = 1 is filtered, if the filter is reopened, the '2' value in the second input is lost **Positive case** Define an advanced filter on a numeric column, e.g.: 'Id' = 1 OR 'Id' = 2 Do not click 'Apply' right away, focus filter's frame by clicking on it Click 'Apply' **Expected result** = **Actual result** Entries with ids '1' and '2' are returned Related commits: 0b3628e08575d052cfaca819db4d6465bc785ea5, 652e08ebbe9fc73e72982c5aeb425f5b4de64938 Radzen.Blazor Version=5.6.8
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#1502