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

30 lines
797 B
C#

using Microsoft.AspNetCore.Components;
using TIAM.Entities.Products;
using TIAM.Services;
namespace TIAMSharedUI.Shared.Components.Grids;
public class ProductDetailGrid : ProductGrid
{
public ProductDetailGrid() : base()
{
GetAllMessageTag = SignalRTags.GetProductsByOwnerId;
AddMessageTag = SignalRTags.AddProduct;
UpdateMessageTag = SignalRTags.UpdateProduct;
RemoveMessageTag = SignalRTags.RemoveProduct;
}
protected override Task SetParametersAsyncCore(ParameterView parameters)
{
if (!IsFirstInitializeParameters)
{
//ShowFilterRow = true;
//ShowGroupPanel = true;
//AllowSort = false;
//etc...
}
return base.SetParametersAsyncCore(parameters);
}
}