Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

How to add a new line to MudTable with Inline-Edit

$
0
0

Can anyone suggest a method for creating a new record by using MudTable with Inline Editing? Maybe clicking a new button and it creates a new line in the table to fill out?

Currently my MudTable references a List, when I click the Add button I created, it runs the following code.

public Publisher CreateNewPublisher(){    var newPublisher = new Publisher { IsNew = true, Editing = true };    AdminPublishers.Add(newPublisher);    OnChange.Invoke();}

But the table doesn't show a new blank line.

Is there a better way to do this?


Viewing all articles
Browse latest Browse all 4839

Trending Articles