31 lines
795 B
C#
31 lines
795 B
C#
using Microsoft.AspNetCore.Components;
|
|
using TIAM.Entities.Drivers;
|
|
using TIAM.Entities.Products;
|
|
using TIAM.Services;
|
|
|
|
namespace TIAMSharedUI.Shared.Components.Grids;
|
|
|
|
public class CarDetailGrid : CarGrid
|
|
{
|
|
public CarDetailGrid() : 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);
|
|
}
|
|
} |