Hi,

I've discovered one approach by the following code:

cellStyle.setFillForegroundColor(HSSFColor.WHITE.index);
cellStyle.setFillPattern(HSSFCellStyle.SOLID_FOREGROUND);
cell.setCellStyle(cellStyle);

but is there any method to modify the property of the workbook?
so i needn't to set the cell style for each cell.

Thanks.


2008/3/27, Moody Lee <[EMAIL PROTECTED]>:
>
> Hi,
>
> I'm working with POI 3.0.2-FINAL, using it to generate some report.
> Does anyone know how to perform the following action by API like I'm
> operating the Excel file?
> menu->tool->options->
> in the "view" tab
> uncheck the "gridline" checkbox.
>
> which I want to do is let the gridlines disappear.
>
> any idea is appreciated.
>
> thanks you.
>
> Moody.
>
>

Reply via email to