SpreadJS Documentation
allowSheetReorder Method
Whether the user can reorder the sheets in the Spread component.
Gets or sets whether the user can change the order of the sheets by dragging their sheet tabs.
Syntax
var instance = new GcSpread.Sheets.Spread(host, options);
var returnValue; // Type: Object
returnValue = instance.allowSheetReorder(value);
function allowSheetReorder( 
   value : boolean
) : Object;

Parameters

value
Whether the user can reorder the sheets in the Spread component.

Return Value

true if the user can reorder the sheets; otherwise, false.
Example
This example allows the user to reorder the sheet by dragging the sheet tab in the tab strip.
spread.allowSheetReorder(true);
Remarks
The default value is true.
See Also

Reference

Spread type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.