SpreadJS Documentation
Comment Method
GC.Spread.Sheets Namespace > Comments type : Comment Method
The text of the comment.
Represents a comment.
Syntax
var value; // Type: any
value = GC.Spread.Sheets.Comments.Comment(text);
function Comment( 
   text : any
) : any;

Parameters

text
The text of the comment.
Example
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);
See Also

Reference

Comments type