Missing row : clipboard and RangeData.cs

May 24, 2010 at 5:16 PM
Hello, I recently upgraded a SourceGrid in my C# project to version 4.22. Some errors (missing last row) appeared while copying data from grid to e.g. Excel. Inside RangeData.cs there is: protected static string DataToString(GridVirtual sourceGrid, string[,] values, Range range) { System.Text.StringBuilder builder = new System.Text.StringBuilder(); for (int r = 0; r < range.End.Row - range.Start.Row; r++) while I think it should be : protected static string DataToString(GridVirtual sourceGrid, string[,] values, Range range) { System.Text.StringBuilder builder = new System.Text.StringBuilder(); for (int r = 0; r < range.End.Row - range.Start.Row+1; r++) // correction here Could anyone confirm or deny ? regards, wms13