Browse Source
Merge pull request #11658 from abpframework/enisn/customize-abpextensibledatagrid
Add responsive parameter to AbpExtensibleDataGrid
pull/11663/head
Halil İbrahim Kalkan
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
6 additions and
5 deletions
-
framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor
-
framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor.cs
|
|
|
@ -10,6 +10,7 @@ |
|
|
|
ShowPager="@ShowPager" |
|
|
|
CurrentPage="@CurrentPage" |
|
|
|
PageSize="@PageSize" |
|
|
|
Responsive="@Responsive" |
|
|
|
Class="@Class"> |
|
|
|
<LoadingTemplate> |
|
|
|
<Row Class="w-100 align-items-center" Style="height: 150px;"> |
|
|
|
|
|
|
|
@ -1,12 +1,10 @@ |
|
|
|
using System; |
|
|
|
using Blazorise.Extensions; |
|
|
|
using Blazorise.DataGrid; |
|
|
|
using Microsoft.AspNetCore.Components; |
|
|
|
using System.Collections.Generic; |
|
|
|
using System.Text.RegularExpressions; |
|
|
|
using Blazorise.DataGrid; |
|
|
|
using Blazorise.Extensions; |
|
|
|
using Microsoft.AspNetCore.Components; |
|
|
|
using Microsoft.Extensions.Localization; |
|
|
|
using System.Threading.Tasks; |
|
|
|
using Volo.Abp.AspNetCore.Components.Web.Extensibility.EntityActions; |
|
|
|
using Volo.Abp.AspNetCore.Components.Web.Extensibility.TableColumns; |
|
|
|
|
|
|
|
namespace Volo.Abp.BlazoriseUI.Components; |
|
|
|
@ -36,6 +34,8 @@ public partial class AbpExtensibleDataGrid<TItem> : ComponentBase |
|
|
|
|
|
|
|
[Parameter] public string Class { get; set; } |
|
|
|
|
|
|
|
[Parameter] public bool Responsive { get; set; } |
|
|
|
|
|
|
|
[Inject] |
|
|
|
public IStringLocalizerFactory StringLocalizerFactory { get; set; } |
|
|
|
|
|
|
|
|