setCellHyperlink
On this page
Set or remove a hyperlink on a cell.
Pass undefined or an empty string for target to remove an existing link.
setCellHyperlink(cell: CellObject, target?: string, tooltip?: string): CellObject
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
cell | CellObject | Yes | The cell object to modify |
target | string | No | The hyperlink URL or path; falsy to remove |
tooltip | string | No | Optional tooltip text shown on hover |
Returns
The same cell object, for chaining