SpreadJS Documentation
commentState Method
Gets the state of the comment.
Syntax
var instance = new GcSpread.Sheets.Comment();
var value; // Type: CommentState
value = instance.commentState();
function commentState() : CommentState;

Return Value

The state of the comment.
Example
This example gets the comment state.
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);
alert(comment.commentState());
See Also

Reference

Comment class
CommentState Enumeration

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.