Skip to content

bug(DataTableDynamicContext): Items not updated after its DataTable got changed #5384

Closed
@jvk-digres

Description

@jvk-digres

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

When I edit DataTableDynamicContext's DataTable GetItems() returns old items.

Expected Behavior

DataTableDynamicContext.GetItems() should always return rows from DataTableDynamicContext.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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions