From 08c2488de4dbe15d985aed487a0926a05e9992ec Mon Sep 17 00:00:00 2001 From: enisn Date: Mon, 21 Feb 2022 17:19:37 +0300 Subject: [PATCH] Add class parameter to AbpExtensibleDataGrid --- .../Components/AbpExtensibleDataGrid.razor | 3 ++- .../Components/AbpExtensibleDataGrid.razor.cs | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor b/framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor index 39a86456b82..114e140f034 100644 --- a/framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor +++ b/framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor @@ -9,7 +9,8 @@ TotalItems="@TotalItems" ShowPager="@ShowPager" CurrentPage="@CurrentPage" - PageSize="@PageSize"> + PageSize="@PageSize" + Class="@Class"> diff --git a/framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor.cs b/framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor.cs index 568a9eff3ac..346efdae522 100644 --- a/framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor.cs +++ b/framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor.cs @@ -34,6 +34,8 @@ public partial class AbpExtensibleDataGrid : ComponentBase [Parameter] public int CurrentPage { get; set; } = 1; + [Parameter] public string Class { get; set; } + [Inject] public IStringLocalizerFactory StringLocalizerFactory { get; set; }