SpreadJS Documentation
TableTheme type
GC.Spread.Sheets.Tables Namespace : TableTheme type
Represents the table style settings.
Syntax
var instance = new GC.Spread.Sheets.Tables.TableTheme();
function TableTheme;
Example
//This example creates a table.
var tableStyle = new GC.Spread.Sheets.Tables.TableTheme();
var thinBorder = new GC.Spread.Sheets.LineBorder("black", GC.Spread.Sheets.LineStyle.dotted);
tableStyle.wholeTableStyle(new GC.Spread.Sheets.Tables.TableStyle("aliceblue", "green", "bold 10pt arial", thinBorder, thinBorder, thinBorder, thinBorder, thinBorder, thinBorder));
var tableStyleInfo = new GC.Spread.Sheets.Tables.TableStyle(
    "black",
    "white",
    "bold 11pt arial",
    new GC.Spread.Sheets.LineBorder("green", GC.Spread.Sheets.LineStyle.thin),
    new GC.Spread.Sheets.LineBorder("red", GC.Spread.Sheets.LineStyle.thick),
    new GC.Spread.Sheets.LineBorder("yellow", GC.Spread.Sheets.LineStyle.thin),
    new GC.Spread.Sheets.LineBorder("blue", GC.Spread.Sheets.LineStyle.thick));
tableStyle.headerRowStyle(tableStyleInfo);
var table = activeSheet.tables.add("table1", 1, 1, 5, 5, tableStyle);
Inheritance Hierarchy

Object
   GC.Spread.Sheets.Tables.TableTheme

Constructors
 NameDescription
public ConstructorRepresents the table style settings.  
Top
Methods
 NameDescription
public MethodGets or sets the size of the first alternating column.  
public MethodGets or sets the style of the first alternating column.  
public MethodGets or sets the style of the first footer cell.  
public MethodGets or sets the style of the first header cell.  
public MethodGets or sets the size of the first alternating row.  
public MethodGets or sets the first alternating row style.  
public MethodGets or sets the default style of the footer area.  
public MethodGets or sets the default style of the header area.  
public MethodGets or sets the style of the first column.  
public MethodGets or sets the style of the last column.  
public MethodGets or sets the style of the last footer cell.  
public MethodGets or sets the style of the last header cell.  
public MethodGets or sets the name of the style.  
public MethodGets or sets the size of the second alternating column.  
public MethodGets or sets the style of the second alternating column.  
public MethodGets or sets the size of the second alternating row.  
public MethodGets or sets the second alternating row style.  
public MethodGets or sets the default style of the data area.  
Top
See Also

Reference

GC.Spread.Sheets.Tables Namespace
Creating Tables