SpreadJS Documentation
ShapeRemoved Event
GC.Spread.Sheets Namespace > Events type : ShapeRemoved Event
The sheet that triggered the event.
The sheet's name.
The shape has been removed.
Occurs when the user has removed the shape.
Syntax
var instance; // Type: Events
instance.ShapeRemoved = function(sheet, sheetName, shape) { };
ShapeRemoved = function ( 
   sheet : Worksheet,
   sheetName : string,
   shape : Shape
) { };

Parameters

sheet
The sheet that triggered the event.
sheetName
The sheet's name.
shape
The shape has been removed.
Example
//This example uses the ShapeRemoved event.
var shape = activeSheet.shapes.add("myShape", GC.Spread.Sheets.Shapes.AutoShapeType.diamond, 0, 90, 200, 200);
activeSheet.bind(GC.Spread.Sheets.Events.ShapeRemoved, function (e, info) {
        alert(info.shape.name());
});
See Also

Reference

Events type