[PR #1340] [MERGED] #1338 Reset pagination to first page, when column sorting occurs, retaining default behavior. #2681

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

📋 Pull Request Information

Original PR: https://github.com/radzenhq/radzen-blazor/pull/1340
Author: @djatkinsrealis
Created: 1/19/2024
Status: Merged
Merged: 1/22/2024
Merged by: @enchev

Base: masterHead: feature/1338-reset-firstpage-on-sort


📝 Commits (5)

  • ce7aecd Reset pagers when sorting changes
  • cf16d54 #1338 Rest to first page on column sorting
  • a12557e Made backward compatible.
  • 7f13ce0 Renamed to make intention clearer
  • 0fca70b Moved code to more appropriate location

📊 Changes

1 file changed (+13 additions, -0 deletions)

View changed files

📝 Radzen.Blazor/RadzenDataGrid.razor.cs (+13 -0)

📄 Description

Reset pagination to first page, when column sorting occurs.

Based on feedback to prior commit, I have added a GotoFirstPageOnSort property to conditionally enable this behavior and retain the current behavior by default.

This avoids having to add code to every usage of RadzenDataGrid.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/radzenhq/radzen-blazor/pull/1340 **Author:** [@djatkinsrealis](https://github.com/djatkinsrealis) **Created:** 1/19/2024 **Status:** ✅ Merged **Merged:** 1/22/2024 **Merged by:** [@enchev](https://github.com/enchev) **Base:** `master` ← **Head:** `feature/1338-reset-firstpage-on-sort` --- ### 📝 Commits (5) - [`ce7aecd`](https://github.com/radzenhq/radzen-blazor/commit/ce7aecd92d4cc800f480c6af2fe2055e1162ef2d) Reset pagers when sorting changes - [`cf16d54`](https://github.com/radzenhq/radzen-blazor/commit/cf16d54172cb531280ce869cb7099a54773fc593) #1338 Rest to first page on column sorting - [`a12557e`](https://github.com/radzenhq/radzen-blazor/commit/a12557e06da74e52d3e39e502dba2fc1701606a7) Made backward compatible. - [`7f13ce0`](https://github.com/radzenhq/radzen-blazor/commit/7f13ce04ee8ed91e07704c2491691b43b5c13c82) Renamed to make intention clearer - [`0fca70b`](https://github.com/radzenhq/radzen-blazor/commit/0fca70bc9cd2673fcfd7fe0d61b0930eb46c0265) Moved code to more appropriate location ### 📊 Changes **1 file changed** (+13 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `Radzen.Blazor/RadzenDataGrid.razor.cs` (+13 -0) </details> ### 📄 Description Reset pagination to first page, when column sorting occurs. Based on feedback to prior commit, I have added a `GotoFirstPageOnSort` property to conditionally enable this behavior and retain the current behavior by default. This avoids having to add code to every usage of RadzenDataGrid. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 18:19:58 +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#2681