Merged
Conversation
dvoituron
approved these changes
Jun 17, 2025
|
✅ All tests passed successfully Details on your Workflow / Core Tests page. |
Summary - Unit Tests Code CoverageSummary
CoverageMicrosoft.FluentUI.AspNetCore.Components - 60.5%
|
|
Hello, is there any ETA for when this PR will be merged into a public version of the NuGet package (even a prerelease)? |
Collaborator
Author
|
There are pre-release packages available already. See https://github.com/microsoft/fluentui-blazor/blob/dev/docs/using-latest-daily.md v4.12.1 final will probably be available next week |
This was referenced Jul 22, 2025
This was referenced Jul 30, 2025
Closed
This was referenced Oct 13, 2025
Merged
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.
This PR adds an
IsFixedparameter to theFluentDataGridcomponent that allows developers to optimize performance when working with static datasets that are not expected to change during the grid's lifetime. Fixes #3911. Fixes #3920.Changes
New Parameter
IsFixedboolean parameter with default valuefalseto maintain backward compatibilityIsFixed=true, the grid optimizes refresh behavior for static datasetsIsFixed=false(default), maintains existing behavior from v4.11.9Performance Optimizations
When
IsFixed=true:RefreshItemscalls to only forced or initial requestsUsage Example
Implementation Details
OnParametersSetAsync()to respect theIsFixedparameter in change detection logicRefreshDataCoreAsync()to be more conservative about automatic refreshes whenIsFixed=trueBackward Compatibility
falseensures existing code continues to work unchangedThis implementation replaces the automatic refresh logic that was added in v4.12.0 with more controlled behavior when developers know their dataset is static, providing significant performance benefits for such scenarios.