30 lines
789 B
C#
30 lines
789 B
C#
using Microsoft.AspNetCore.Components;
|
|
using TIAM.Entities.Profiles;
|
|
using TIAM.Services;
|
|
|
|
namespace TIAMSharedUI.Shared.Components.Grids;
|
|
|
|
public class ProfileGrid : TiamGrid<Profile>
|
|
{
|
|
public ProfileGrid() : base()
|
|
{
|
|
GetAllMessageTag = SignalRTags.GetProfileById;
|
|
//AddMessageTag = SignalRTags.AddProfile;
|
|
UpdateMessageTag = SignalRTags.UpdateProfile;
|
|
//RemoveMessageTag = SignalRTags.RemoveProfile;
|
|
}
|
|
|
|
protected override Task SetParametersAsyncCore(ParameterView parameters)
|
|
{
|
|
if (!IsFirstInitializeParameters)
|
|
{
|
|
//ShowFilterRow = true;
|
|
//ShowGroupPanel = true;
|
|
//AllowSort = false;
|
|
|
|
//etc...
|
|
}
|
|
|
|
return base.SetParametersAsyncCore(parameters);
|
|
}
|
|
} |