Hi,
I wonder if I can hide data on the data grid based on a value? Let's say in my data, I have IsActive = 0 and I don't want to display it on the data grid. I mean the entire row that includes this IsActive = 0.
Thank you.
Hi,
I wonder if I can hide data on the data grid based on a value? Let's say in my data, I have IsActive = 0 and I don't want to display it on the data grid. I mean the entire row that includes this IsActive = 0.
Thank you.
Just filter the data before displaying it in the DataGrid.
<RadzenDataGrid Data=@data TItem="MyItem">...</RadzenDataGrid>
@code {
IEnumerable<MyItem> data;
protected override OnInitialized()
{
data = GetData().Where(o => o.IsActive == 0);
}
}