From 3c000cf01d6d69ecf43f5fb4ce72cf9062427c1f Mon Sep 17 00:00:00 2001 From: Carlos Varela Date: Fri, 22 May 2026 22:07:57 -0600 Subject: [PATCH] Fixes the use of DataGrid Template Contexts for ExtraProperties --- .../Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor b/framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor index 6f1a82df5d..da90bd66e7 100644 --- a/framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor +++ b/framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor @@ -122,7 +122,7 @@ @{ - var entity = context as IHasExtraProperties; + var entity = context.Item as IHasExtraProperties; var propertyName = ExtensionPropertiesRegex.Match(column.Data).Groups[1].Value; var propertyValue = entity?.GetProperty(propertyName); if (propertyValue != null && propertyValue.GetType() == typeof(bool))