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);
var comment1 = new GcSpread.Sheets.Comment();
comment1.text("Comment1");
comment1.displayMode(GcSpread.Sheets.DisplayMode.AlwaysShown);
activeSheet.setComment(1, 1, comment1);
var gcomments = activeSheet.getComments();
for (var i = 0; i < gcomments.length; i++) {
alert(gcomments[i].text())
}