SpreadJS Documentation
tag Method
GC.Spread.Sheets Namespace > Worksheet type : tag Method
The tag value to set for the current sheet.
Gets or sets the tag value for the current sheet.
Syntax
var instance = new GC.Spread.Sheets.Worksheet(name);
var returnValue; // Type: any
returnValue = instance.tag(value);
function tag( 
   value : Object
) : any;

Parameters

value
The tag value to set for the current sheet.

Return Value

If no value is set, returns the tag value of the current sheet; otherwise, returns the worksheet.
Example
This example sets the sheet tag.
activeSheet.tag("test");
alert(activeSheet.tag());
See Also

Reference

Worksheet type