SpreadJS 13
GC.Spread.Sheets.CellTypes Namespace / RangeTemplate type
In This Topic
    RangeTemplate type
    In This Topic
    Syntax
    var instance = new GC.Spread.Sheets.CellTypes.RangeTemplate(sheet, row, col, rowCount, colCount);
    function RangeTemplate;
    Example
    var spread = new GC.Spread.Sheets.Workbook(document.getElementById("ss"), { sheetCount: 2 });
    var sheet = spread.getActiveSheet();
    var sheet2 = spread.getSheetFromName("Sheet2");
    var celltype = new GC.Spread.Sheets.CellTypes.RangeTemplate(sheet2, 0, 0, 6, 4);
    sheet.getRange(0,0,2,2).cellType(celltype);
    Inheritance Hierarchy

    Object
       GC.Spread.Sheets.CellTypes.RangeTemplate

    Constructors
     NameDescription
    public Constructor  
    Top
    See Also