SpreadJS 13
GC.Spread.Sheets.CellTypes Namespace / HyperLink class / linkToolTip Method
The tooltip text.
In This Topic
    linkToolTip Method
    In This Topic
    Gets or sets the tooltip for the hyperlink.
    Syntax
    var instance = new GC.Spread.Sheets.CellTypes.HyperLink();
    var returnValue; // Type: any
    returnValue = instance.linkToolTip(value);
    function linkToolTip( 
       value : string
    ) : any;

    Parameters

    value
    The tooltip text.

    Return Value

    If no value is set, returns the tooltip text; otherwise, returns the hyperLink cell type.
    Example
    This example creates a hyperlink cell.
    var cellType = new GC.Spread.Sheets.CellTypes.HyperLink();
    cellType.linkColor("blue");
    cellType.visitedLinkColor("#FF2235");
    cellType.text("GrapeCity");
    cellType.linkToolTip("Company Web Site");
    activeSheet.getCell(1, 1).cellType(cellType).value("http://spread.grapecity.com/");
    activeSheet.getCell(1, -1).height(30);
    Remarks
    The default value is an empty string.
    See Also

    Reference

    HyperLink class