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 2016-06-23 12:25:25

Gavin
Member
Registered: 2016-06-23
Posts: 8

Cell-contents not aligned with cell in WinForm control

Hi.
I am using ReoGrid v0.9.1.0 to display an XLSX worksheet in a ReoGrid control in my WinForms project.
Some of the cells do not display their contents in the correct position. They are the same cells every time but not all cells. (Please see screenshots below).
Please could let me know if there is some way to fix this so it displays correctly like in the spreadhseet.

Image of top of screen: https://dl.dropboxusercontent.com/u/103 … .23.32.png
XLSX file being loaded into ReoGrid control: https://dl.dropboxusercontent.com/u/103 … plate.xlsx
Another sample - second page of screen: https://dl.dropboxusercontent.com/u/103 … .25.06.png

Thanks - I really appreciate the help.

kind regards
Gavin

Offline

#2 2016-06-23 13:28:31

alexeyrlx
Moderator
From: CIS
Registered: 2015-07-14
Posts: 36
Website

Re: Cell-contents not aligned with cell in WinForm control

Hi

Your document into ReoGrid 1.3.0:
ec225e7259f8e41fb4034aca04fcdfd5.jpg

Please try to upgrade ReoGrid to the latest version :-)

Last edited by alexeyrlx (2016-06-23 13:30:58)


My English is perfect! (My version of the English language ;-) )

Offline

#3 2016-06-23 14:39:26

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

Re: Cell-contents not aligned with cell in WinForm control

Agreed. I've also tested your document with 1.3.0, all text displayed correctly. Please try to use the latest version.

Offline

#4 2016-06-24 07:46:43

Gavin
Member
Registered: 2016-06-23
Posts: 8

Re: Cell-contents not aligned with cell in WinForm control

Thanks guys. I've updated t0 v 1.3.0 using the Nuget Package Manager, but now I get the following errors:

Error    2    'unvell.ReoGrid.ReoGridControl' does not contain a definition for 'SheetTabControlNewButtonVisible' and no extension method 'SheetTabControlNewButtonVisible' accepting a first argument of type 'unvell.ReoGrid.ReoGridControl' could be found (are you missing a using directive or an assembly reference?)    C:\Users\gavin_000\Documents\Visual Studio 2012\Projects\C# 2012 Projects\StockAndReconSheet\StockAndReconSheet\frmStockRecon.Designer.cs    401    34    StockAndReconSheet
Error    3    'unvell.ReoGrid.ReoGridControl' does not contain a definition for 'SheetTabControlWidth' and no extension method 'SheetTabControlWidth' accepting a first argument of type 'unvell.ReoGrid.ReoGridControl' could be found (are you missing a using directive or an assembly reference?)    C:\Users\gavin_000\Documents\Visual Studio 2012\Projects\C# 2012 Projects\StockAndReconSheet\StockAndReconSheet\frmStockRecon.Designer.cs    402    34    StockAndReconSheet

Offline

#5 2016-06-24 08:50:19

Gavin
Member
Registered: 2016-06-23
Posts: 8

Re: Cell-contents not aligned with cell in WinForm control

Ok, just trying in a new test project and I'm having trouble with the Reogrid control. I can't use the old control, so I deleted it from the toolbox and tried adding from the new dll (using instructions from your website) and it says there is nothing to add, so now I can't insert a reogrid control into my form. What am I doing wrong?

Offline

#6 2016-06-24 08:53:22

alexeyrlx
Moderator
From: CIS
Registered: 2015-07-14
Posts: 36
Website

Re: Cell-contents not aligned with cell in WinForm control

See change log or hints of Intellisence (Visual Studio)


My English is perfect! (My version of the English language ;-) )

Offline

#7 2016-06-24 09:31:33

alexeyrlx
Moderator
From: CIS
Registered: 2015-07-14
Posts: 36
Website

Re: Cell-contents not aligned with cell in WinForm control

Gavin wrote:

Ok, just trying in a new test project and I'm having trouble with the Reogrid control. I can't use the old control, so I deleted it from the toolbox and tried adding from the new dll (using instructions from your website) and it says there is nothing to add, so now I can't insert a reogrid control into my form. What am I doing wrong?

Fully remove links to *.reogrid.dll in properties of your project and add links to new  version.
The update is performed in the same way as for other .Net components


My English is perfect! (My version of the English language ;-) )

Offline

#8 2016-07-01 12:26:29

Gavin
Member
Registered: 2016-06-23
Posts: 8

Re: Cell-contents not aligned with cell in WinForm control

Thanks. I took a break for a few days and now the new control has loaded correctly (maybe it just needed me to restart Visual Studio after deleting the old one or something like that).

Last edited by Gavin (2016-07-04 12:35:28)

Offline

Board footer

Powered by FluxBB