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

    Reference

    CellTypes type