Working with Syncfusion v20.4.0.48
I have a grid with a "Pdf Export"
button, "Excel Export"
button
, "ColumnChooser" button, etc..
and one of the column is
<GridColumn Field="GridAction" HeaderText="Actions" AllowResizing="false" Width="125" MinWidth="100" MaxWidth="125">
<GridCommandColumns>
<GridCommandColumn Type="CommandButtonType.Edit" ButtonOption="@(new CommandButtonOptions() { IconCss = "e-icons e-edit", CssClass = "" })"></GridCommandColumn>
<GridCommandColumn Type="CommandButtonType.Save" ButtonOption="@(new CommandButtonOptions() { IconCss = "e-icons e-save", CssClass = "e-flat" })"></GridCommandColumn>
<GridCommandColumn Type="CommandButtonType.Cancel" ButtonOption="@(new CommandButtonOptions() { IconCss = "e-icons e-cancel-icon", CssClass = "e-flat" })"></GridCommandColumn>
</GridCommandColumns>
</GridColumn>
"Pdf Export" button work as expected always the "Action" column is visible. Whe I choose to hide the "Action" column via "ColumnChooser" button and then click on "Pdf Export" button I get the fallowing error.
Error: Index was outside the bounds of the array.
Just happen with the "Pdf Export" button, "Excel Export" button work fine in both case "Action" column visible or hidden.
Hi Javier,
We have confirmed this as an issue and logged the defect report “Pdf Export throw error when the Command Column is hidden via column chooser” for the same. Thank you for taking time to report this issue and helping us to improve our product. At Syncfusion, we are committed to fix all validated defects (subject to technological feasibility and Product Development Life Cycle) and this fix will be included in our upcoming patch release which is expected to be rolled out on or before 28th Feb, 2023.
You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link.
Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization”
Regards,
Naveen Palanivel
Hi Javier,
We are glad to announce that, we have included the fix for the issue “Pdf Export throw error when the Command Column is hidden via column chooser” in our release (20.4.0.52). So please upgrade to our latest version of Syncfusion NuGet package to resolve the reported issue. Please find the Nuget package for latest fixes and features from below.
Nuget : https://www.nuget.org/packages/Syncfusion.Blazor.Grid
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.
Please let us know if you have any concerns.
Regards,
Naveen