From 98e8393d144d95d293f4d7a2239ac19ad2a0487f Mon Sep 17 00:00:00 2001 From: Vladimir Enchev Date: Thu, 15 Jan 2026 18:08:38 +0200 Subject: [PATCH] DataGrid column UniqueID initialization fixed --- Radzen.Blazor/RadzenDataGridColumn.razor.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Radzen.Blazor/RadzenDataGridColumn.razor.cs b/Radzen.Blazor/RadzenDataGridColumn.razor.cs index bf483563..e12f35d5 100644 --- a/Radzen.Blazor/RadzenDataGridColumn.razor.cs +++ b/Radzen.Blazor/RadzenDataGridColumn.razor.cs @@ -243,9 +243,9 @@ namespace Radzen.Blazor } if (!string.IsNullOrEmpty(Property) && !string.IsNullOrEmpty(FilterProperty)) - UniqueID ??= $"{Property}.{FilterProperty}"; // To be sure the column uniqueID is unique even when filtering on sub property. + UniqueID = $"{Property}.{FilterProperty}"; // To be sure the column uniqueID is unique even when filtering on sub property. else - UniqueID ??= Property ?? FilterProperty; + UniqueID = !string.IsNullOrEmpty(Property) ? Property : FilterProperty; if (UseDisplayName && !string.IsNullOrEmpty(Property)) {