The grid lines do get printed when i actually "print" the sheet on paper. But
i also need them to show on the view when i open excel which is not working.


Laubach, Shawn CTR USAF AFMC 555 ACSS/GFLB wrote:
> 
> Either of the first two should trigger that the grid lines get printed.
> If not, then there's a bug somewhere.
> 
> Shawn
> 
> -----Original Message-----
> From: Ruchi2 [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, September 17, 2008 11:59 AM
> To: [email protected]
> Subject: Set gridlines in Excel thru POI not working.
> 
> 
> Can anyone please guide me on how can i set grid lines in excel using
> POI. I
> have tried the below, is that all what is needed?Can someone please
> confirm.
> It does'nt work for me. Am i missing anything. Please do let me know.
> 
> sheet.setGridsPrinted(true);
> sheet.setPrintGridlines(true);
> sheet.setDisplayGridlines(true);
> 
> Thanks
> 
> -- 
> View this message in context:
> http://www.nabble.com/Set-gridlines-in-Excel-thru-POI-not-working.-tp195
> 36696p19536696.html
> Sent from the POI - Dev mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Set-gridlines-in-Excel-thru-POI-not-working.-tp19536696p19538298.html
Sent from the POI - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to