Open Closed

Recommended Approach to Customizing the Appearance of an Entity Action column from Abp Modules #2971


User avatar
0
balessi75 created

Abp Commercial 5.2.0 / Blazor Server / EF Core

We've overridden the User Management page, but noticed that the Grid is built using AbpExtensibleDataGrid, so it appears that UI customizations are not possible, is that correct?

We are attempting to modify the Actions drop-down button so that it has an icon within it (similar to what is seen in the Easy CRM demo that is not built with Blazor).

Is there a recommended approach to doing this?

Thanks in advance, -Brian

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can try to override the SetEntityActionsAsync method of your Components

    EntityActions
        .Get<UserManagement>()
        .AddRange(new EntityAction[]
        {
                new EntityAction
                {
                    Text = L["Edit"],
                    Visible = (data) => HasUpdatePermission,
                    Clicked = async (data) => await OpenEditModalAsync(data.As<IdentityUserDto>()),
                    Icon = xxxx
                }
        });
    

    https://github.com/abpframework/abp/blob/20fa13f5696ce8a43580b0c2a6f34c23352650c2/framework/src/Volo.Abp.AspNetCore.Components.Web/Volo/Abp/AspNetCore/Components/Web/Extensibility/EntityActions/EntityAction.cs#L13

    https://github.com/abpframework/abp/blob/0fd542a13833fcecf47174f2870bde9e2133a158/framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor#L46

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.