SpreadJS製品ヘルプ
dropDowns フィールド
GC.Spread.Sheets 名前空間 > Style クラス : dropDowns フィールド
セルのドロップダウンの種類を示します。
シンタックス
var instance = new GC.Spread.Sheets.Style(backColor,
                                         foreColor,
                                         hAlign,
                                         vAlign,
                                         font,
                                         themeFont,
                                         formatter,
                                         borderLeft,
                                         borderTop,
                                         borderRight,
                                         borderBottom,
                                         diagonalDown,
                                         diagonalUp,
                                         locked,
                                         textIndent,
                                         wordWrap,
                                         shrinkToFit,
                                         backgroundImage,
                                         cellType,
                                         backgroundImageLayout,
                                         tabStop,
                                         textDecoration,
                                         imeMode,
                                         name,
                                         parentName,
                                         watermark,
                                         cellPadding,
                                         labelOptions,
                                         labelOptions.alignment,
                                         labelOptions.visibility,
                                         labelOptions.font,
                                         labelOptions.foreColor,
                                         labelOptions.margin,
                                         isVerticalText,
                                         textOrientation,
                                         applyFont,
                                         applyFill,
                                         applyAlignment,
                                         applyBorder,
                                         applyProtection,
                                         applyNumberFormat);
var value; // Type: dropDowns
value = instance.dropDowns;
var dropDowns : dropDowns;
使用例
leftButtonConfig1 = {
    caption: "left",
    enabled: true,
    isLeft: true,
    visibility:GC.Spread.Sheets.ButtonVisibility.always,
    command: "opendropdown"
}
//スタイルを作成します。
var style = new GC.Spread.Sheets.Style();
style.cellButtons=[
     leftButtonConfig1
];
style.dropDowns= [{ type: "colorPicker" }];
sheet.setStyle(0, 0, style);
関連トピック

参照

Style クラス