You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jvk-digres Thank you for filing this issue. In order for us to investigate this issue, please provide a minimalistic repro project that illustrates the problem.
For performance reasons, the method GetItems uses caching technology internally. If you need, we can design a property to control whether to use caching. However, I recommend reconstructing DataTableDynamicContext whenever you update the data source.
Is there an existing issue for this?
Describe the bug
When I edit DataTableDynamicContext's DataTable
GetItems()
returns old items.Expected Behavior
DataTableDynamicContext.GetItems()
should always return rows fromDataTableDynamicContext.DataTable
.Interactive render mode
Interactive Server (Interactive server-side rendering (interactive SSR) using Blazor Server)
Steps To Reproduce
Repo: https://github.com/jvk-digres/DataTableDynamicContext_ItemsNotUpdated
Exceptions (if any)
No response
.NET Version
NET9.0
Anything else?
There's also a bug (i think?) when adding new objects with DataTableDynamicContext.AddAsync. Items are not updated when
OnAddAsync
is set.The text was updated successfully, but these errors were encountered: