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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Hyperlink formatting in ejSpreadsheet

Thread ID:

Created:

Updated:

Platform:

Replies:

141461 Dec 12,2018 04:19 PM UTC Dec 13,2018 09:14 AM UTC JavaScript 1
loading
Tags: ejSpreadSheet
Anthony
Asked On December 12, 2018 04:19 PM UTC

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. 

Christopher Issac Sunder K [Syncfusion]
Replied On 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. 
 
CSS: 
 
.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? 

Thanks, 
Christo

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;