SpreadJS 13
GC.Spread.Sheets Namespace / Events type / TableResizing Event
The sheet that triggered the event.
The table which is resizing.
The table range before resize.
The table range after resize.
In This Topic
    TableResizing Event
    In This Topic
    Occurs when the user resizing table by resize handler.
    Syntax
    var instance; // Type: Events
    instance.TableResizing = function(sheet, table, oldRange, newRange) { };
    TableResizing = function ( 
       sheet : Worksheet,
       table : table,
       oldRange : Range,
       newRange : Range
    ) { };

    Parameters

    sheet
    The sheet that triggered the event.
    table
    The table which is resizing.
    oldRange
    The table range before resize.
    newRange
    The table range after resize.
    Example
    //This example uses the TableResizing and TableResized event.
    window.onload = function(){
         var spread = new GC.Spread.Sheets.Workbook(document.getElementById("ss"));
         var activeSheet = spread.getActiveSheet();
         spread.bind(GC.Spread.Sheets.Events.TableResizing, function (e, data) {});
         spread.bind(GC.Spread.Sheets.Events.TableResized, function (e, data) {});
    }
    See Also

    Reference

    Events type