SpreadJS Documentation
dynamicMove Method
Whether the comment dynamically moves.
Gets or sets whether the comment dynamically moves.
Syntax
var instance = new GcSpread.Sheets.Comment();
var returnValue; // Type: boolean
returnValue = instance.dynamicMove(value);
function dynamicMove( 
   value : boolean
) : boolean;

Parameters

value
Whether the comment dynamically moves.

Return Value

Whether the comment dynamically moves.
Example
This example uses the dynamicMove method.
var comment = new GcSpread.Sheets.Comment();
comment.text("new comment!");
comment.backColor("yellow");
comment.foreColor("green");
comment.displayMode(GcSpread.Sheets.DisplayMode.AlwaysShown);
comment.dynamicMove(true);
comment.dynamicSize(true);
activeSheet.setComment(5,5,comment);
See Also

Reference

Comment class

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.