# GC.Spread.Sheets.Comments.CommentState

## Content

# Enumeration: CommentState

[Sheets](../modules/GC.Spread.Sheets).[Comments](../modules/GC.Spread.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

- [active](GC.Spread.Sheets.Comments.CommentState#active)
- [edit](GC.Spread.Sheets.Comments.CommentState#edit)
- [normal](GC.Spread.Sheets.Comments.CommentState#normal)

## Enumeration members

### <a id="active" name="active"></a> active

• **active** = `1`

Specifies that the comment is in an active state.

___

### <a id="edit" name="edit"></a> edit

• **edit** = `2`

Specifies that the comment is in an editing state.

___

### <a id="normal" name="normal"></a> normal

• **normal** = `3`

Specifies that the comment is in a normal state.
