Override link visited color in grid

1 Answer 405 Views
Grid
Joe
Top achievements
Rank 1
Joe asked on 17 May 2021, 08:31 PM
In one of the columns of my grid I have a link.  It used to recognize the :visited property just fine, but I had to update to 2020.1.406 (I did not want to update, was kinda forced into it) and now the link in my grid doesn't use nor recognize the :visited property apparently.

These work as expected

.k-grid a {
color: black;
}

.k-grid a:hover {
color: green;
}

but for whatever reason, this does not:

.k-grid a:visited {
color: pink !important;
}

So how can I get the :visisted property to work correctly.  The users were using it to keep track of which record within a grid they had already worked with/processed.  I don't want to have to put in place some other roundabout way of tracking this...


1 Answer, 1 is accepted

Sort by
0
Anton Mironov
Telerik team
answered on 20 May 2021, 02:15 PM

Hi Joe,

Thank you for the CSS and details provided.

I tried to achieve the needed result with the latest version and the result could be found in the following dojo example that I prepared for the case:

The visited links are colored as expected.

Make the needed tests locally and let me know if I could assist with anything else.

Kind Regards,
Anton Mironov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Grid
Asked by
Joe
Top achievements
Rank 1
Answers by
Anton Mironov
Telerik team
Share this question
or