diff --git a/framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor b/framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor index b38f4afaa9..3c6cfb3855 100644 --- a/framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor +++ b/framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor @@ -159,5 +159,9 @@ } } } + @if (!AutoGenerateColumns) + { + + } diff --git a/framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor.cs b/framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor.cs index 4642afcadd..5a9bc08df5 100644 --- a/framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor.cs +++ b/framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor.cs @@ -35,6 +35,8 @@ public partial class AbpExtensibleDataGrid : ComponentBase [Parameter] public string? Class { get; set; } [Parameter] public bool Responsive { get; set; } + + [Parameter] public bool AutoGenerateColumns { get; set; } [Inject] public IStringLocalizerFactory StringLocalizerFactory { get; set; } = default!;