[PR #878] Reset DataGrid in Settings.set #2371

Closed
opened 2026-01-29 18:18:31 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/radzenhq/radzen-blazor/pull/878

State: closed
Merged: No


Currently the DataGrid Settings are only reset if the Settings property is called with null. If an application is developed with multiple DataGridSettings that can be saved and loaded, any secondary set is loaded in addition to the first for column sorting.

This commit resets the DataGrid each time the Settings setter is called prior to the updated value being applied and Reload being called meaning the new Settings will be applied from fresh.

**Original Pull Request:** https://github.com/radzenhq/radzen-blazor/pull/878 **State:** closed **Merged:** No --- Currently the DataGrid Settings are only reset if the Settings property is called with null. If an application is developed with multiple `DataGridSettings` that can be saved and loaded, any secondary set is loaded in addition to the first for column sorting. This commit resets the DataGrid each time the Settings setter is called prior to the updated value being applied and Reload being called meaning the new Settings will be applied from fresh.
claunia added the pull-request label 2026-01-29 18:18:31 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#2371