RadzenGrid RowSelect and CssClass on added rows

Hello,

After inserting rows in my RadzenGrid neither the RowSelect set on the grid or the CssClass property set on the columns are applied to the added row.

ListFeedingTheGrid.Add(itemToBeAdded);
TheGrid.InsertRow(itemToBeAdded);

I have tried also adding:
TheGrid.Reload();
StateHasChanged();

Thanks in advance for any help!

Is there anyone with an idea about this?

Seems to work fine in a modified version of our online demo

Thanks! But your demo isn't using RowSelect?

These are the two properties that for me doesn't seem to work on rows added after first render:

<RadzenGrid RowSelect="@(args => DialogService.OpenAsync...)">
            <RadzenGridColumn CssClass="cursor-pointer text-right" />

As I said I modified the demo to use RowSelect and it works as expected - check the image (it is an animated gif).

Thanks, I misunderstood you.

I needed to add UpdateRow also, then it worked:

ListFeedingTheGrid.Add(itemToBeAdded);
TheGrid.InsertRow(itemToBeAdded);
TheGrid.UpdateRow(itemToBeAdded);