From 4e07e65b4ce8012a8963ff02e07cb22a1aedd44c Mon Sep 17 00:00:00 2001 From: Marc Chouteau Date: Sat, 29 Aug 2026 14:49:23 +0200 Subject: [PATCH] ++ --- .gitignore | 1 + .../Internal/ExportColumnResolver.cs | 7 +++++-- .../SuperBlazorComponents.DataGridExporter.csproj | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index ce89292..2ea4ac7 100644 --- a/.gitignore +++ b/.gitignore @@ -416,3 +416,4 @@ FodyWeavers.xsd *.msix *.msm *.msp +*.xlsx diff --git a/src/SuperBlazorComponents.DataGridExporter/Internal/ExportColumnResolver.cs b/src/SuperBlazorComponents.DataGridExporter/Internal/ExportColumnResolver.cs index ddcf3c9..e6cd7ac 100644 --- a/src/SuperBlazorComponents.DataGridExporter/Internal/ExportColumnResolver.cs +++ b/src/SuperBlazorComponents.DataGridExporter/Internal/ExportColumnResolver.cs @@ -1,4 +1,4 @@ -using System.Collections.Concurrent; +using System.Collections.Concurrent; using System.Diagnostics; using System.Net; using System.Reflection; @@ -20,6 +20,7 @@ public static IReadOnlyList> Resolve(SuperDataGrid>(); + int idx = 0; foreach (var column in grid.ColumnsCollection.Where(c => c.Exportable && c.IsCurrentlyVisible)) { var header = FirstNotEmpty( @@ -31,9 +32,11 @@ public static IReadOnlyList> Resolve(SuperDataGrid accessor; if (column.ExportValue is not null) { diff --git a/src/SuperBlazorComponents.DataGridExporter/SuperBlazorComponents.DataGridExporter.csproj b/src/SuperBlazorComponents.DataGridExporter/SuperBlazorComponents.DataGridExporter.csproj index 33fb83a..47aaf72 100644 --- a/src/SuperBlazorComponents.DataGridExporter/SuperBlazorComponents.DataGridExporter.csproj +++ b/src/SuperBlazorComponents.DataGridExporter/SuperBlazorComponents.DataGridExporter.csproj @@ -1,11 +1,11 @@ - + net10.0 enable enable SuperBlazorComponents.DataGridExporter SuperBlazorComponents.DataGridExporter - 2.0.9 + 2.0.10 SuperBlazorComponents.DataGridExporter SuperBlazorComponents DataGrid Exporter Appliman