Hi there. Quick question. Is it possible to set the class (or really, the font/color/decoration) of a hyperlink cell text? Or are we stuck with the standard formatting (underline, a set color for visited links, etc)? Thanks.
CIChristopher Issac Sunder K Syncfusion Team December 13, 2018 04:14 AM
Thank you for using Syncfusion products.
We have checked your reported requirement “To set the class for hyperlink applied cell to change the font /color/text decoration” and we would let you know that in our spreadsheet, we have added the class “e-hyperlinks” for hyperlink applied cells, So your requirement can be achievable by doing some CSS customization for “e-hyperlinks” class applied element in sample level itself as like in the below code example.
color: pink; /*apply pink color for visited links*/
text-decoration: none; /*Removes the text decoration for spreadsheet hyperlinks*/
font-family: serif; ; /*change the font-family for spreadsheet hyperlinks*/
For your convenience, we have prepared a sample that that overrides the text-decoration and font-family for normal hyperlink applied cells and apply the pink colors for visited links. Please find the sample link below.