SpreadJS Documentation
GC.Spread.Sheets Namespace / Events type / DragFillBlock Event
The sheet that triggered the event.
The sheet's name.
The range used for the fill operation.
AutoFillType value used for the fill operation.
The direction of the fill.
A value that indicates whether the operation should be canceled.
In This Topic
    DragFillBlock Event
    In This Topic
    Occurs when the user is dragging to fill a range of cells.
    Syntax
    var instance; // Type: Events
    instance.DragFillBlock = function(sheet, sheetName, fillRange, autoFillType, fillDirection, cancel) { };
    DragFillBlock = function ( 
       sheet : Worksheet,
       sheetName : string,
       fillRange : Range,
       autoFillType : AutoFillType,
       fillDirection : FillDirection,
       cancel : boolean
    ) { };

    Parameters

    sheet
    The sheet that triggered the event.
    sheetName
    The sheet's name.
    fillRange
    The range used for the fill operation.
    autoFillType
    AutoFillType value used for the fill operation.
    fillDirection
    The direction of the fill.
    cancel
    A value that indicates whether the operation should be canceled.
    Example
    This example uses the DragFillBlock event.
    activeSheet.bind(GC.Spread.Sheets.Events.DragFillBlock, function (e, info) {    
            alert("Direction (" + info.fillDirection + ")");
    });
    See Also

    Reference

    Events type