SpreadJS Documentation
canUserDragDrop Method
Whether to allow the user to drag and drop range data.
Gets or sets whether to allow the user to drag and drop cell range data to another range.
Syntax
var instance = new GcSpread.Sheets.Spread(host, options);
var returnValue; // Type: Object
returnValue = instance.canUserDragDrop(value);
function canUserDragDrop( 
   value : boolean
) : Object;

Parameters

value
Whether to allow the user to drag and drop range data.

Return Value

true if the user is allowed to drag and drop range data; otherwise, false.
Example
This example uses the canUserDragDrop method.
spread.canUserDragFill(true);
spread.canUserDragDrop(true);
Remarks
The default value is true.
See Also

Reference

Spread type
Using Drag and Move

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.