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 2017-05-03 12:09:07

frdanx
Member
Registered: 2017-05-03
Posts: 1

Error message when i use AddOutline and FreezeToCell together

Version 2.0.1 WPF

When I use the following functions togethers :
                sheet.AddOutline(RowOrColumn.Column, 5, 2).Collapse();
                sheet.FreezeToCell(2, 7, FreezeArea.LeftTop);


I had this error message : Object reference not set to an instance of an object

Stacktrace :

   à unvell.ReoGrid.Views.ViewportController.AddView(IView view)
   à unvell.ReoGrid.Views.NormalViewportController.CreateOutlineHeaderViewIfNotExist()
   à unvell.ReoGrid.Views.NormalViewportController.Freeze()

When i use one of this functions alone everything works

best regards

Offline

#2 2017-05-03 15:35:40

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

Re: Error message when i use AddOutline and FreezeToCell together

I just tested this with a blank worksheet and your test code, I can't get the problem happen.

https://github.com/unvell/ReoGrid/commi … cca7fcc0e4

Offline

Board footer

Powered by FluxBB