Spread.Sheets Documentation
Changing the Grid Line Appearance

You can change the color or hide the grid lines.

Using Code

This example sets the grid line color and hides the horizontal grid lines.

JavaScript
Copy Code

$(document).ready(function () {
    var spread = new GC.Spread.Sheets.Workbook(document.getElementById("ss"),{sheetCount:3});
    var sheet = spread.getActiveSheet();
//Hide horizontal grid lines.
sheet.options.gridline = {color:"red", showVerticalGridline: true, showHorizontalGridline: false};
spread.invalidateLayout();
spread.repaint();
});
See Also

Developer's Guide

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.