Open Closed

Blazor - Action Button - DataGridEntityActionsColumn with single EntityAction #1431


User avatar
0
cellero created

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>


2 Answer(s)
  • User Avatar
    0
    alper created
    Support Team

    This doesn't seem to be implemented as documented. I'll check again and write to you

  • User Avatar
    0
    ServiceBot created
    Support Team

    This question has been automatically marked as stale because it has not had recent activity.

Made with ❤️ on ABP v9.2.0-preview. Updated on January 14, 2025, 14:54