ReoGrid Forum

Fast and powerful .NET Spreadsheet Component

You are not logged in.

Announcement

This forum has been archived and no longer accepts new user registrations. Please report your questions, problems, and feedback to the issue page of ReoGrid on GitHub. Thank you for your cooperation.

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

#1 2014-07-07 07:33:00

fjzwjlfnx
Member
Registered: 2014-06-17
Posts: 7

Del rows and cols throw exception

Hello  Jing:

   When  I Del rows    and   cols  throw  an Exception,below is  stack  info:

  System.ArgumentOutOfRangeException: 索引超出范围。必须为非负值并小于集合大小。
参数名: index
   在 System.Collections.Generic.List`1.get_Item(Int32 index)
   在 unvell.ReoGrid.ReoGridControl.as.c(RGDrawingContext A_0)
   在 unvell.ReoGrid.ReoGridControl.as.q(RGDrawingContext A_0)
   在 unvell.ReoGrid.ReoGridControl.ac.p(RGDrawingContext A_0)
   在 unvell.ReoGrid.ReoGridControl.ah.am(RGDrawingContext A_0)
   在 unvell.ReoGrid.ReoGridControl.bd.am(RGDrawingContext A_0)
   在 unvell.ReoGrid.ReoGridControl.OnPaint(PaintEventArgs e)
   在 System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
   在 System.Windows.Forms.Control.WmPaint(Message& m)
   在 System.Windows.Forms.Control.WndProc(Message& m)
   在 unvell.ReoGrid.ReoGridControl.WndProc(Message& m)
   在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

How Can  I capture  this exception or  to solve  this problem?

Last edited by fjzwjlfnx (2014-07-07 07:34:41)

Offline

#2 2014-07-07 09:37:37

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

Re: Del rows and cols throw exception

Thanks for report. When removing the last n rows will cause exception happen, this is really a problem... please wait me for fix this by release 0.8.6.3.

Last edited by Jingwood (2014-07-07 09:54:47)

Offline

#3 2014-07-08 01:13:11

fjzwjlfnx
Member
Registered: 2014-06-17
Posts: 7

Re: Del rows and cols throw exception

Thanks  for reply!
but 0.8.6.2  version  have solution?  can  I capture  this  exception?
when reogrid can publish  0.8.6.3?

Offline

#4 2014-07-08 12:34:58

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

Re: Del rows and cols throw exception

Could you post some code where the exception happens? How many rows on your grid, and how many rows you want to delete?

Offline

Board footer

Powered by FluxBB