ReoGrid Forum

Fast and powerful .NET Spreadsheet Component

You are not logged in.

Announcement

This forum no longer accepts new user registrations, please report your question, problem and feedback to the issue page of ReoGrid on Github. Thanks for your cooperation.

https://github.com/unvell/ReoGrid/issues

#1 2016-03-15 14:22:55

amvandenberg
Member
Registered: 2016-02-09
Posts: 10

PageDown sometimes gives IndexOutOfBoundsException

Hi,

Sometimes I'm getting an IndexOutOfBoundsException, I wasn't able to reproduce in the demo editor, but I'll give you the stacktrace anyway. Maybe you can track this down. It's in version 1.2.0:

System.IndexOutOfRangeException was unhandled
  HResult=-2146233080
  Message=De index ligt buiten de matrixgrenzen.
  Source=unvell.ReoGrid
  StackTrace:
       bij unvell.ReoGrid.Data.Index4DArray`1.a(Int32 A_0, Int32 A_1)
       bij unvell.ReoGrid.Worksheet.CreateAndGetCell(Int32 row, Int32 col)
       bij unvell.ReoGrid.Worksheet.CreateAndGetCell(CellPosition pos)
       bij unvell.ReoGrid.Worksheet.GetMergedCellOfRange(ReoGridCell cell)
       bij unvell.ReoGrid.Worksheet.MoveSelectionPageDown(Boolean appendSelect)
       bij unvell.ReoGrid.Worksheet.b(KeyCode A_0)
       bij unvell.ReoGrid.ReoGridControl.OnKeyDown(KeyEventArgs e)

Offline

#2 2016-03-15 14:52:12

Jing
Moderator
From: jing at reogrid.net
Registered: 2014-06-03
Posts: 615

Re: PageDown sometimes gives IndexOutOfBoundsException

Thanks for reporting! I'll check this problem.

Offline

#3 2016-03-16 01:50:27

Jing
Moderator
From: jing at reogrid.net
Registered: 2014-06-03
Posts: 615

Re: PageDown sometimes gives IndexOutOfBoundsException

This is a bug in version 1.2.0 and 1.2.1, it will be fixed from next release.

Offline

#4 2016-03-23 10:34:51

Jing
Moderator
From: jing at reogrid.net
Registered: 2014-06-03
Posts: 615

Re: PageDown sometimes gives IndexOutOfBoundsException

This problem has been fixed in version 1.2.2: https://reogrid.net/download/

Offline

Board footer

Powered by FluxBB