Version: 4.3.2 Blazor Server with EF. A DataGrid has a single EntityAction in DataGridEntityActionsColumn as per the razor code below. With a single action the button should show as a single button instead of a Button with dropdown, but it continues to show as a drop down.
Please advise how to show a Entity Action as a single button without a drop down.
<DataGridEntityActionsColumn TItem="ClientWithNavigationPropertiesDto" @ref="@EntityActionsColumn">
<DisplayTemplate>
<EntityActions TItem="ClientWithNavigationPropertiesDto" EntityActionsColumn="@EntityActionsColumn">
<EntityAction TItem="ClientWithNavigationPropertiesDto"
RequiredPolicy="@ABcrmPermissions.Clients.Create"
Clicked="() => NavigateToClientDetailPage(context.Client.Id)"
Text="@L["Details"]"></EntityAction>
</EntityActions>
</DisplayTemplate>
</DataGridEntityActionsColumn>
7 Answer(s)
-
0
This question has been automatically marked as stale because it has not had recent activity.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Yes, it was me that asked this question. Could this be reported as a bug?
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
1Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
-
1
Shayne it's not a bug and already implemented.
See https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor#L37C25-L37C41
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Shayne it's not a bug and already implemented.
See https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor#L37C25-L37C41
Hi alper ABP Suite generates CRUD pages using the DataGrid by default rather than AbpExtensibleDataGrid, the issue may still exist for DataGrid.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)



