SpreadJS製品ヘルプ
Comment メソッド
GC.Spread.Sheets 名前空間 > Comments タイプ : Comment メソッド
コメントのテキスト。
コメントを表します。
シンタックス
var value; // Type: any
value = GC.Spread.Sheets.Comments.Comment(text);
function Comment( 
   (optional) text : string
) : any;

パラメータ

text
コメントのテキスト。
使用例
var comment = new GC.Spread.Sheets.Comments.Comment();
comment.text("new comment!");
comment.backColor("yellow");
comment.foreColor("green");
comment.displayMode(GC.Spread.Sheets.Comments.DisplayMode.alwaysShown);
comment.autoSize(true);
activeSheet.getCell(5,5).comment(comment);
関連トピック

参照

Comments タイプ