Hello,
I have a RadzenGrid with RadzenTabs inside. The grid has more than 7000 rows and the user wants each row to appear expanded.
In the RadzenGrid I have the following code:
RowRender = "@ RowRender" ExpandMode = "DataGridExpandMode.Multiple"
In the code:
protected void RowRender(RowRenderEventArgs<Pro_Proyecto> args)
{
args.Expandable = true;
}
protected override void OnAfterRender(bool firstRender)
{
if (firstRender)
{
foreach (Pro_Proyecto proyecto in proyectos)
{
gridListado.ExpandRow(proyecto);
StateHasChanged();
}
}
base.OnAfterRender(firstRender);
}
The problem is that it takes a long time to load the entire grid with the rows expanded.
Am I doing it wrong, is there any other way to do it?
Thank you very much in advance.