We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Hyperlink formatting in ejSpreadsheet

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. 

1 Reply

CI Christopher Issac Sunder K Syncfusion Team December 13, 2018 09:14 AM UTC

Hi Anthony, 
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. 
.e-spreadsheet .e-hyperlinks:visited { 
    color: pink; /* apply pink color for visited links*/ 
.e-spreadsheet .e-hyperlinks { 
    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. 
Could you please check the above sample and get back to us if you need any further assistance on this? 


Live Chat Icon For mobile
Up arrow icon