From 5d2b1120b9c84a2972c6de444efbf9f760f00dad Mon Sep 17 00:00:00 2001 From: Vincent Baaij Date: Fri, 6 Oct 2023 15:29:16 +0200 Subject: [PATCH] 1) Fix error in RenderDefaultHeaderContent related to recent tooltip work 2) Udo country code rename --- examples/Demo/Shared/SampleData/DataSource.cs | 2 +- src/Core/Components/DataGrid/Columns/ColumnBase.razor | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/Demo/Shared/SampleData/DataSource.cs b/examples/Demo/Shared/SampleData/DataSource.cs index acc3f68497..f0cb2d6807 100644 --- a/examples/Demo/Shared/SampleData/DataSource.cs +++ b/examples/Demo/Shared/SampleData/DataSource.cs @@ -79,7 +79,7 @@ public Task GetCountriesAsync() new Person ( PersonId: 6, FirstName: "Bert", LastName: "de Vries", CountryCode: "NL", BirthDate: new DateOnly(1999, 6, 9), Picture: ImageFaces[5] ), new Person ( PersonId: 7, FirstName: "Jaques", LastName: "Martin", CountryCode: "BE", BirthDate: new DateOnly(2002, 10, 20), Picture: ImageFaces[6] ), new Person ( PersonId: 8, FirstName: "Elizabeth", LastName: "Johnson", CountryCode: "GB", BirthDate: new DateOnly(1971, 11, 24), Picture: ImageFaces[7] ), - new Person ( PersonId: 9, FirstName: "Jakob", LastName: "Berger", CountryCode: "D", BirthDate: new DateOnly(1971, 4, 21), Picture: string.Empty ) + new Person ( PersonId: 9, FirstName: "Jakob", LastName: "Berger", CountryCode: "DE", BirthDate: new DateOnly(1971, 4, 21), Picture: string.Empty ) }; public class MonthItem diff --git a/src/Core/Components/DataGrid/Columns/ColumnBase.razor b/src/Core/Components/DataGrid/Columns/ColumnBase.razor index c1e2139396..76786b7b88 100644 --- a/src/Core/Components/DataGrid/Columns/ColumnBase.razor +++ b/src/Core/Components/DataGrid/Columns/ColumnBase.razor @@ -26,7 +26,7 @@ if (Sortable.HasValue ? Sortable.Value : IsSortableByDefault()) { - +
@Title
@if (Grid.SortByAscending.HasValue && ShowSortIcon)