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 doesn't seem to be implemented as documented. I'll check again and write to you
-
0
This question has been automatically marked as stale because it has not had recent activity.
-
0
This ticket is asked by another user in Discord. So I unlocked it.
-
0
Yes, it was me that asked this question. Could this be reported as a bug?
-
1
-
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
-
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.