GcSpread.Sheets Namespace > Sheet type : setGridlineOptions Method |
The following settings are available:
options.color | string type | Specifies the color of the gridline. |
options.showVerticalGridline | boolean type | Specifies whether to display the vertical gridline. |
options.showHorizontalGridline | boolean type | Specifies whether to display the horizontal gridline. |
var instance = new GcSpread.Sheets.Sheet(name); var value; // Type: any value = instance.setGridlineOptions(options);
function setGridlineOptions( options : Object ) : any;
The following settings are available:
options.color | string type | Specifies the color of the gridline. |
options.showVerticalGridline | boolean type | Specifies whether to display the vertical gridline. |
options.showHorizontalGridline | boolean type | Specifies whether to display the horizontal gridline. |
sheet.setGridlineOptions({color:"#FF2235", showVerticalGridline: true, showHorizontalGridline: false}); sheet.isPaintSuspended(false); sheet.repaint();