SpreadJS 13
GC.Spread.Sheets Namespace / CellRange type / tag Method
The tag value.
In This Topic
    tag Method
    In This Topic
    Gets or sets the tag for the cell.
    Syntax
    var instance = new GC.Spread.Sheets.CellRange(sheet, row, col, rowCount, colCount, sheetArea);
    var returnValue; // Type: any
    returnValue = instance.tag(value);
    function tag( 
       (optional) value : Object
    ) : any;

    Parameters

    value
    The tag value.

    Return Value

    If no value is set, returns the tag value; otherwise, returns the cell.
    Example
    This example adds a cell tag.
    activeSheet.getCell(1,1).tag("cell tag");
    See Also

    Reference

    CellRange type