[]
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());
• 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 = 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 = 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.