SpreadJS Documentation
DisplayMode Enumeration
GC.Spread.Sheets.Comments Namespace : DisplayMode Enumeration
Defines when the comment is displayed.
Members
MemberDescription
alwaysShownSpecifies that the comment is always displayed.
hoverShownSpecifies that the comment is displayed only when the pointer hovers over the comment's owner cell.
Example
This example uses the DisplayMode enumeration.
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);
activeSheet.getCell(5,5).comment(comment);
Inheritance Hierarchy

Object
   GC.Spread.Sheets.Comments.DisplayMode

See Also

Reference

GC.Spread.Sheets.Comments Namespace