poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kamesh Rao <kameshb...@gmail.com>
Subject Re: about column width
Date Tue, 25 Jul 2006 10:29:40 GMT
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/


Mime
View raw message