Export cells with link

The "ExcelQueryCellInfoEventArgs" interface includes the "hyperlink" option (with displayText and target).

I would understand that it is the way to include a link when exporting to excel, however, I can't do it and I can't find another way to do it without having to implement the export apart from the grid component.

I would be grateful if you could guide me with this task. or tell me if it is not feasible yet.


4 Replies

RS Rajapandiyan Settu Syncfusion Team January 4, 2022 12:49 PM UTC

Hi Consejo, 

Thanks for contacting Syncfusion support. 

In EJ2 Grid, the hyperlinks and images are exported only through the ExcelQueryCellInfo/PdfQueryCellInfo events. In that event, you need to manually bind the target and display text of hyperlink based on the row data. This is the intended behavior of Grid. Find the below Demo for more information. 


Are you facing any issue while implementing this in your project? If yes, share the issue details and explain your requirement in detail to proceed further on this.  

Regards, 
Rajapandiyan S 



CD Consejo de Defensa del Estado January 13, 2022 06:31 PM UTC


Thanks a lot. I will use this alternative.



RS Rajapandiyan Settu Syncfusion Team January 14, 2022 06:04 AM UTC

Hi Consejo, 

We are glad that the provided solution resolves your requirement. 

Please get back to us if you need further assistance. 

Regards, 
Rajapandiyan S 



RB Rick Baldauff Syncfusion Team February 2, 2022 06:40 PM UTC

Hello Consejo,


We have some questions in regards to your license which is now expired. We have been trying to reach you at the email below but with no luck. Please provide an email address to reach you or you can reach out to me directly at [email protected].
[email protected]



Loader.
Up arrow icon