32 lines
852 B
C#
32 lines
852 B
C#
using Microsoft.AspNetCore.Components;
|
|
using TIAM.Entities.ServiceProviders;
|
|
using TIAM.Services;
|
|
|
|
namespace TIAMSharedUI.Shared.Components.Grids;
|
|
|
|
public class CompanyGrid : TiamGrid<Company>
|
|
{
|
|
public CompanyGrid() : base()
|
|
{
|
|
GridName = nameof(CompanyGrid);
|
|
|
|
GetAllMessageTag = SignalRTags.GetCompaniesAsync;
|
|
AddMessageTag = SignalRTags.AddCompanyAsync;
|
|
UpdateMessageTag = SignalRTags.UpdateCompanyAsync;
|
|
RemoveMessageTag = SignalRTags.RemoveCompanyAsync;
|
|
}
|
|
|
|
protected override Task SetParametersAsyncCore(ParameterView parameters)
|
|
{
|
|
if (!IsFirstInitializeParameters)
|
|
{
|
|
//ShowFilterRow = true;
|
|
//ShowGroupPanel = true;
|
|
//AllowSort = false;
|
|
|
|
//etc...
|
|
}
|
|
|
|
return base.SetParametersAsyncCore(parameters);
|
|
}
|
|
} |