Spread.Sheets Documentation
highlightFirstColumn Method
GC.Spread.Sheets.Tables Namespace > Table type : highlightFirstColumn Method
Whether to highlight the first column.
Gets or sets a value that indicates whether to highlight the first column.
Syntax
var instance = new GC.Spread.Sheets.Tables.Table(name, row, col, rowCount, colCount, style, options);
var returnValue; // Type: any
returnValue = instance.highlightFirstColumn(value);
function highlightFirstColumn( 
   value : boolean
) : any;

Parameters

value
Whether to highlight the first column.

Return Value

If no value is set, returns whether to highlight the first column; otherwise, returns the table.
Example
This example creates a table.
//Add data
for (var col = 1; col < 6; col++) {
    for (var row = 2; row < 11; row++) {
        activeSheet.setValue(row, col, row + col);
    }
}

var sTable = activeSheet.tables.add("table1", 1, 1, 10, 5, GC.Spread.Sheets.Tables.TableThemes.medium2);
sTable.highlightFirstColumn(true);
sTable.highlightLastColumn(true);
See Also

Reference

Table type