SpreadJS 13
GC.Spread.Sheets Namespace / Events type / ShapeChanged Event
The sheet that triggered the event.
The sheet's name.
The shape that triggered the event.
The name of the shape's property that has changed.
In This Topic
    ShapeChanged Event
    In This Topic
    Occurs when any shape has changed.
    Syntax
    var instance; // Type: Events
    instance.ShapeChanged = function(sheet, sheetName, shape, propertyName) { };
    ShapeChanged = function ( 
       sheet : Worksheet,
       sheetName : string,
       shape : Shape,
       propertyName : string
    ) { };

    Parameters

    sheet
    The sheet that triggered the event.
    sheetName
    The sheet's name.
    shape
    The shape that triggered the event.
    propertyName
    The name of the shape's property that has changed.
    Example
    //This example uses the ShapeChanged event.
    var shape1 = activeSheet.shapes.add("shape1", GC.Spread.Sheets.Shapes.AutoShapeType.rectangle, 20, 20, 200, 200);
    activeSheet.bind(GC.Spread.Sheets.Events.ShapeChanged, function (e, info) {
           alert("changed");
    });
    See Also

    Reference

    Events type