MudTable: Add Pager Options#13176
Merged
danielchalmers merged 6 commits intoJun 18, 2026
Merged
Conversation
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Contributor
Author
|
The requested changes have been implemented. PagerStateHasChanged has been updated to avoid desync issues with two pagers. The IDisposable pattern has also been implemented for the event, similar to MudDataGridPager. It seems like codecov is complaning about the !disposing path of the Dispose method on the pager. I'm not too sure if a test is needed for this, I can see that a simliar warning is present for the MudDataGridPager. |
|
This looks great, and precisely what I've just been looking for. Any clue when this might be merged / make it into a release? |
Member
|
Thank you! |
|
🕺 |
This was referenced Jun 27, 2026
This was referenced Jul 2, 2026
This was referenced Jul 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Picking this up from #10862 since it got stale and developed merge conflicts. This fully implements the request from #2775 to allow rendering the pager at the top, bottom, or both.
Changes:
Replaced the proposed boolean with a PagerPosition enum (Bottom, Top, TopAndBottom). Defaults to Bottom to prevent breaking changes.
Added a .mud-table-pagination-top CSS class so the border logic flips correctly when stacked under ToolBarContent.
Added interactive toggle to the TablePaginationExample in the docs.
Replaced the previous property-check tests with bUnit tests that assert the actual DOM rendering order (Toolbar -> Pager -> TableContainer).
A quick glace:
Screen.Recording.2026-05-06.153536.mp4
Closes #2775