TourIAm/TIAMSharedUI/Shared/Components/Grids/CarGrid.cs

31 lines
789 B
C#

using Microsoft.AspNetCore.Components;
using TIAM.Entities.Drivers;
using TIAM.Entities.Products;
using TIAM.Services;
namespace TIAMSharedUI.Shared.Components.Grids;
public class CarGrid : TiamGrid<Car>
{
public CarGrid() : base()
{
GetAllMessageTag = SignalRTags.GetAllCars;
AddMessageTag = SignalRTags.CreateCar;
UpdateMessageTag = SignalRTags.UpdateCar;
RemoveMessageTag = SignalRTags.DeleteCar;
}
protected override Task SetParametersAsyncCore(ParameterView parameters)
{
if (!IsFirstInitializeParameters)
{
//ShowFilterRow = true;
//ShowGroupPanel = true;
//AllowSort = false;
//etc...
}
return base.SetParametersAsyncCore(parameters);
}
}