LoadDataArgs.Filter and LoadDataArgs.Filters represent different filters after remove filtered column by column picker. #1059

Open
opened 2026-01-29 17:48:26 +00:00 by claunia · 0 comments
Owner

Originally created by @anc-dev-lk on GitHub (Dec 14, 2023).

Describe the bug
Consider a grid loading data with LoadData event. Once we remove a filtered column with column picker we have to reload the dataset. When we call grid.Reload() we are getting LoadDataArgs with Filter - with hidden column filter and Filters - without hidden column filter.

To Reproduce
Steps to reproduce the behavior:

  1. Consider a datagrid loading data with LoadData event.
  2. Add a filter to column 'someColumn'.
  3. remove 'someColumn' by column picker.
  4. Call grid.Reload() with PickedColumnsChanged event.
  5. LoadDataArgs.Filter property and LoadDataArgs.Filters property represent different filters.

Expected behavior
LoadDataArgs.Filter and LoadDataArgs.Filtersshould represent same filter set.

Originally created by @anc-dev-lk on GitHub (Dec 14, 2023). <!-- IMPORTANT: Read this first!!! 1. If you own a Radzen Professional or Еnterprise subscription you can report your issue or ask us a question via email at info@radzen.com. Radzen staff will reply within 24 hours (Professional) or 16 hours (Enterprise) 2. The Radzen staff guarantees a response to issues in this repo only to paid subscribers. 3. If you have a HOW TO question start a new forum thread in the Radzen Community forum: https://forum.radzen.com. Radzen staff will close issues that are HOWTO questions. 4. Please adhere to the issue template. Specify all the steps required to reproduce the issue or link a project which reproduces it easily (without requiring extra steps such as restoring a database). --> **Describe the bug** Consider a grid loading data with `LoadData` event. Once we remove a filtered column with column picker we have to reload the dataset. When we call `grid.Reload()` we are getting `LoadDataArgs` with Filter - with hidden column filter and Filters - without hidden column filter. **To Reproduce** Steps to reproduce the behavior: 1. Consider a datagrid loading data with LoadData event. 2. Add a filter to column 'someColumn'. 3. remove 'someColumn' by column picker. 4. Call `grid.Reload() ` with `PickedColumnsChanged` event. 5. `LoadDataArgs.Filter` property and `LoadDataArgs.Filters` property represent different filters. **Expected behavior** `LoadDataArgs.Filter` and `LoadDataArgs.Filters`should represent same filter set.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#1059