You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Kamesh Rao <ka...@gmail.com> on 2006/07/25 12:29:40 UTC

Re: about column width

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/