[prev in list] [next in list] [prev in thread] [next in thread] 

List:       poi-user
Subject:    Re: about column width
From:       Kamesh Rao <kameshbrao () gmail ! com>
Date:       2006-07-25 10:29:40
Message-ID: loom.20060725T122523-183 () post ! gmane ! org
[Download RAW message or body]

I had solved this problem by finding out the cell value length and then 
multiplied it by 256

ie if the cell value length is 35 then the column width is

sheet.setColumnWidth(colNo,(short)(35*256));

This was working for me


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic