SpreadJS Documentation
Comment API Changes
SpreadJS Documentation > Developer's Guide > Getting Started > API Changes > Comment API Changes

The Comment class has been moved to GC.Spread.Sheets.Comments.Comment.

The comment enumerations have been moved to:

Padding has been moved to GC.Spread.Sheets.Comments.Padding.

The following comment changes have been made in GC.Spread.Sheets.Worksheet:

V9 V11
setComment(row,col,comment) comments.add(row,col,text)
getComment(row,col) comments.get(row,col)
getComments(row,col) comments.all()
comments.remove(row,col)
comments.clear(range)