SpreadJS Documentation
SheetRenameUndoAction Constructor
The renamed sheet.
The sheet's new name.
Represents a rename sheet undo action on the sheet.
Syntax
var instance = new GcSpread.Sheets.UndoRedo.SheetRenameUndoAction(sheet, newName);
function SheetRenameUndoAction( 
   sheet : Sheet,
   newName : string
) : SheetRenameUndoAction;

Parameters

sheet
The renamed sheet.
newName
The sheet's new name.
Example
This example renames a sheet.
var action = new GcSpread.Sheets.UndoRedo.SheetRenameUndoAction(activeSheet, "SheetName");
activeSheet.doCommand(action);
See Also

Reference

SheetRenameUndoAction type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.