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
1 Answer(s)
-
0
hi
You can try to override the
SetEntityActionsAsync
method of yourComponents
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