You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by "Penumullu, Appesereddy" <Ap...@Syntelinc.com> on 2013/06/18 08:27:54 UTC

FW: Re: How to make readonly cell

Please let us know  the solution for this if you find any to protect single cell.
We refer  following  link but we have not find any solution
http://mail-archives.apache.org/mod_mbox/poi-user/200907.mbox/%3C24395936.post@talk.nabble.com%3E


Regards&Thanks

Appesereddy.P.


Re: FW: Re: How to make readonly cell

Posted by Lo...@log-net.com.
Did you try the 'setLocked' method of an assigned style:

CellStyle yellowInputBackgroundStyle = wb.createCellStyle();
yellowInputBackgroundStyle.setLocked(false);  //or true


"Penumullu, Appesereddy" <Ap...@Syntelinc.com> wrote on 
2013-06-18 02:27:54 AM:

> From: "Penumullu, Appesereddy" <Ap...@Syntelinc.com>
> To: "user@poi.apache.org" <us...@poi.apache.org>, 
> Date: 2013-06-18 11:37 AM
> Subject: FW: Re: How to make readonly cell
> 
> 
> Please let us know  the solution for this if you find any to protect
> single cell.
> We refer  following  link but we have not find any solution
> http://mail-archives.apache.org/mod_mbox/poi-user/200907.mbox/%
> 3C24395936.post@talk.nabble.com%3E
> 
> 
> Regards&Thanks
> 
> Appesereddy.P.
>