SpreadJS 13
GC.Spread.Sheets.CellTypes Namespace / CheckBoxList type / CheckBoxList Constructor
In This Topic
    CheckBoxList Constructor
    In This Topic
    Represents an editable CheckBoxList cell.
    Syntax
    var instance = new GC.Spread.Sheets.CellTypes.CheckBoxList();
    function CheckBoxList() : CheckBoxList;
    Example
    //This example creates a CheckBoxList cell.
    var cellType2 = new GC.Spread.Sheets.CellTypes.CheckBoxList();
    cellType2.items([{text:"a",value:1},{text:"b",value:2},{text:"c",value:3}]);
    activeSheet.getCell(2, 2).cellType(cellType2);
    See Also