SpreadJS Documentation
DragFillBlockCompleted 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.
Occurs when the user completes dragging to fill a range of cells.
Syntax
var instance; // Type: Events
instance.DragFillBlockCompleted = function(sheet, sheetName, fillRange, autoFillType, fillDirection) { };
DragFillBlockCompleted = function ( 
   sheet : Sheet,
   sheetName : string,
   fillRange : Range,
   autoFillType : AutoFillType,
   fillDirection : FillDirection
) { };

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.
Example
This example uses the DragFillBlockCompleted event.
$("#spreadContainer").data("spread").getActiveSheet().bind(GcSpread.Sheets.Events.DragFillBlockCompleted, function (e, info) {    
        alert("Type (" + info.autoFillType + ")");
});
See Also

Reference

Events type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.