Links for dimension values

1 Answer 9 Views
PivotGrid
David
Top achievements
Rank 1
David asked on 17 Oct 2025, 07:47 AM

I'd like to be able to render links as a Dimension value where appropriate.

The Dimension display value is defined as 

displayValue: (item: any) => string

I can't use a jsx fragment here of if I attempt to return an '< a href....' it is html encoded and rendered as html.

Ideally I'd like to add a <Link component but would settle for an <a tag

Is this achievable?

1 Answer, 1 is accepted

Sort by
0
Filip
Telerik team
answered on 20 Oct 2025, 08:08 AM | edited on 20 Oct 2025, 10:09 AM

Hello, David,

For rendering a link I can recommend providing a custom Cell. I have prepared a small runnable example that showcases this approach in action:

The same approach can be used to render the link conditionally per your needs. More information on Providing custom cells can be found in the following article:

Please let me know in case this is still not exactly what you are looking for and I will gladly assist further in achieving the desired functionality.

Regards,
Filip
Progress Telerik

Your perspective matters! Join other professionals in the State of Designer-Developer Collaboration 2025: Workflows, Trends and AI survey to share how AI and new workflows are impacting collaboration, and be among the first to see the key findings.
Start the 2025 Survey
David
Top achievements
Rank 1
commented on 20 Oct 2025, 09:48 AM

Hi Filip,

Thanks for the response and example.

I'll have a look at modifying this to make the dimensions as opposed to measures clickable.

 

 

Tags
PivotGrid
Asked by
David
Top achievements
Rank 1
Answers by
Filip
Telerik team
Share this question
or