Comments (2)
Hi,
This has to do with the way the FluentDataGrid is using ChildContent as a way of collecting the list of columns, the assumption is it's free to render that as often as it wants/needs. In order to discover when columns are added/removed/sorted, it has to be able to invoke ChildContent on each render. Same happens in this case with clicking on the button. There is no way to prevent the reloading of the data. For a solution, you should be looking for some way to perform the data retrieval conditionally.
See also #1514 for some more information. There is also a discussion topic on this: #1982
Closing this one as it is not actionable from our side atm.
from fluentui-blazor.
Hey, thanks for the reply. makes sense thats why it happens.
sadly our performance issues comes from it taking a few seconds just to re-render the components/rows, not just from getting data (which is a regular list for us, no api call).
ill see what i can do to hopefully move stuff around and render as less as possible when it isn't needed and move some stuff around.
thanks again :)
from fluentui-blazor.
Related Issues (20)
- fix: Icon in default slot will not render correctly in FluentButton.razor if component is wrapped inside another HOT 1
- Add missing values to FluentStack/HorizontalAlignment property type HOT 3
- FluentTree - CurrentSelected does not change if you have an element in the FluentTreeItem HOT 2
- fix: Updating EditContext state in FluentSelect HOT 2
- fix: FluentDataGrid stays in loading state after adding items to the collection HOT 1
- fix: FluentEditForm fields are non editable when wrapped in FluentTab and using version 4.7.2 HOT 5
- feat: add ability to turn off SelectAll button in SelectColumn Multiple mode HOT 2
- fix: initial ActiveIndicator in FluentTabs HOT 2
- fix: Double click needed for expanding/collapsing child elements in FluentNavGroup when prerendering is turned off HOT 2
- feat: add support for BackgroundColor & Color in FluentAnchor HOT 1
- fix: bind-SelectedOption is null when using bind-SelectedOption:after FluentComboBox
- feat: add support for Virtualize for FluentCombobox HOT 7
- docs: fix/add Toast / Custom component example / Razor code HOT 2
- Add CultureInfo.InvariantCulture to ToString("0.00") HOT 1
- fix: clicking ColumnOptions in FluentDataGrid throws exception HOT 2
- docs: Make Aside (In this article) scrollable HOT 1
- docs: add documentation on how to provide more parameters to custom dialogs HOT 5
- feat: add OnKeyUp in FluentKeyCode HOT 1
- docs: add some guidance to configure RTL mode HOT 3
- feat: add multi-column to/in combobox HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluentui-blazor.