SpreadJS Documentation
DisplayMode Enumeration
Defines when the comment is displayed.
Members
MemberDescription
AlwaysShownSpecifies that the comment will always be displayed.
HoverShownSpecifies that the comment will be displayed only when the pointer hovers over the comment's owner cell.
Example
This example uses the DisplayMode enumeration.
var comment = new GcSpread.Sheets.Comment();
comment.text("new comment!");
comment.backColor("yellow");
comment.foreColor("green");
comment.displayMode(GcSpread.Sheets.DisplayMode.AlwaysShown);
activeSheet.setComment(5,5,comment);
Inheritance Hierarchy

Object
   GcSpread.Sheets.DisplayMode

See Also

Reference

GcSpread.Sheets Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.