[]
        
(Showing Draft Content)

GC.Spread.Sheets.Comments.CommentState

Enumeration: CommentState

Sheets.Comments.CommentState

Defines the comment 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());

Table of contents

Enumeration members

Enumeration members

active

active = 1

Specifies that the comment is in an active state. In the active state, the comment is currently being selected. User can move the comment's position or resize the comment.


edit

edit = 2

Specifies that the comment is in an editing state. The edit state of an comment signifies that the comment is actively being modified or updated. This state occurs when a user is making changes to the content of the comment.


normal

normal = 3

Specifies that the comment is in a normal state. In the normal state, the comment is currently not being selected. User cannot interact with a comment in normal state. Clicking on the comment will change the state into active or edit.