SpreadJS 14
GC.Spread.Sheets.Comments Namespace / CommentState Enumeration
In This Topic
    CommentState Enumeration
    In This Topic
    Defines the comment state.
    Members
    MemberDescription
    activeSpecifies that the comment is in an active state.
    editSpecifies that the comment is in an editing state.
    normalSpecifies that the comment is in a normal state.
    Example
    This example gets the comment state.
    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);
    alert(comment.commentState());
    Inheritance Hierarchy

    Object
       GC.Spread.Sheets.Comments.CommentState

    See Also