Spread.Sheets Documentation
setTag Method
GC.Spread.Sheets Namespace > Worksheet type : setTag Method
The row index.
The column index.
The tag value to set for the specified cell.
The sheet area. If this parameter is not provided, it defaults to viewport.
Sets the tag value for the specified cell in the specified sheet area.
Syntax
var instance = new GC.Spread.Sheets.Worksheet(name);
var value; // Type: any
value = instance.setTag(row, col, tag, sheetArea);
function setTag( 
   row : number,
   col : number,
   tag : Object,
   sheetArea : SheetArea
) : any;

Parameters

row
The row index.
col
The column index.
tag
The tag value to set for the specified cell.
sheetArea
The sheet area. If this parameter is not provided, it defaults to viewport.
Example
This example adds and gets a cell tag.
activeSheet.setTag(1,1,"test");
See Also

Reference

Worksheet type