-
-
Notifications
You must be signed in to change notification settings - Fork 533
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DataGrid: Mixes CurrentPage and PageChanged into single two-way bindable param #5896
Conversation
…able Page parameter; Fixes pagesize "bug" in datagrid test page; Removes unnecessary DataGridPageChangedEventArgs.cs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about renaming the CurrentPage
in
PaginationContext
CurrentPage
Does that also makes sense?
In Also renaming to |
From a user perspective, I think it makes sense to name them all the same. That way, we will be consistent. @David-Moreira, what do you think? |
I prefer the same naming always to avoid miss interpretations from different developers. I also have no strong feelings about I'd not use current even to represent "current state". I believe that's already implied when accessing an api that represents state. I think it only makes sense if you have two conflicts parameters to make it explicitly which one is which, i.e |
# Conflicts: # Documentation/Blazorise.Docs/Pages/News/2025-05-01-release-notes-200.razor
Description
Closes #3610