mirror of
https://github.com/radzenhq/radzen-blazor.git
synced 2026-02-04 05:35:44 +00:00
DataGrid column UniqueID initialization fixed
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user