SpreadJS Documentation
dynamicMove Method
GC.Spread.Sheets.Shapes Namespace > ShapeBase type : dynamicMove Method
The value indicates whether the shape moves when hiding or showing, resizing, or moving rows or columns.
Gets or sets whether the shape moves when hiding or showing, resizing, or moving rows or columns.
Syntax
var instance = new GC.Spread.Sheets.Shapes.ShapeBase();
var returnValue; // Type: any
returnValue = instance.dynamicMove(value);
function dynamicMove( 
   value : boolean
) : any;

Parameters

value
The value indicates whether the shape moves when hiding or showing, resizing, or moving rows or columns.

Return Value

If no value is set, returns whether this shape dynamically moves.
Example
var heart = sheet.shapes.add("Shape1", GC.Spread.Sheets.Shapes.AutoShapeType.heart, 100, 60, 200, 160);
var state = heart.dynamicMove();
heart.dynamicMove(!state);
See Also

Reference

ShapeBase type