This project is read-only.

column width in .NET 1.1 version

Oct 1, 2009 at 2:26 PM


I am unable to change the column width in my excel file when using the version of NPOI that was built for .NET 1.1.

I have tried using AutoSizeColumn as well as the SetColumnWidth comands.

sheet1.AutoSizeColumn(1) : has no effect on the excel file.
sheet1.SetColumnWidth(0, 5000) : throws an error with a message of '?'.

Does anybody know of a fix or an alternative way to change a columns with?

Nov 19, 2009 at 10:28 AM
Edited Nov 19, 2009 at 11:56 AM

First of all, thanks for a great framework!

I read that it was scheduled to be fixed for the 1.2.2 release, in what timeframe is the next release planned?

Nov 19, 2009 at 2:55 PM

I'll release 1.2.2 next month. The bug is already fixed in the latest source code (for .NET 2.0). If you are willing to change the .NET 1.1 by yourself, you can compare the code change and fix it.

Sep 8, 2010 at 7:08 PM

    I have the version 1.2.3 and this feature is not working properly.