Posted 17 January 2021, 9:02 pm EST
Hi Atul,
You may inherit the HyperlinkCellType for the required functionality. Please refer to the following code snippet and let us know if you face any issues.
export function IconCellType(img) {
this.typeName = "IconCellType";
this.img = img;
}
IconCellType.prototype = new GC.Spread.Sheets.CellTypes.HyperLink();
var cellType = new IconCellType(document.getElementById("icon-lock"));
cellType.linkColor("blue");
cellType.visitedLinkColor("#FF2235");
cellType.text("This is Circle text.");
cellType.linkToolTip("Company Web Site");
sheet
.getCell(0, 0)
.text("This is Circle text.")
.value("http://www.google.com/")
.cellType(cellType);
sheet.getCell(1, 0).cellType(cellType).value("http://spread.grapecity.com/");
Regards
Avinash