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

32 lines
904 B
C#

using Microsoft.AspNetCore.Components;
using TIAM.Entities.Profiles;
using TIAM.Entities.Transfers;
using TIAM.Services;
namespace TIAMSharedUI.Shared.Components.Grids;
public class TransferDestinationGrid : TiamGrid<TransferDestination>
{
public TransferDestinationGrid() : base()
{
GetAllMessageTag = SignalRTags.GetAllTransferDestinations;
AddMessageTag = SignalRTags.CreateTransferDestination;
UpdateMessageTag = SignalRTags.UpdateTransferDestination;
RemoveMessageTag = SignalRTags.RemoveTransferDestination;
}
protected override Task SetParametersAsyncCore(ParameterView parameters)
{
if (!IsFirstInitializeParameters)
{
//ShowFilterRow = true;
//ShowGroupPanel = true;
//AllowSort = false;
//etc...
}
return base.SetParametersAsyncCore(parameters);
}
}