kendo-react
kendo-react copied to clipboard
Fix GridPDFExport when cell has a Link from react-router
Fix GridPDFExport when a cell has a Link from react-router
Try to export to see the error: https://stackblitz.com/edit/react-eoqkci-2kyclw?file=app%2Fmain.tsx
The assumption is that when we clone the DOM to export it, the Link element is no longer a direct child of the router.
This can also cause an issue when using a navigate button in the GridToolbar.
We can add a property to specify where the close the Grid. If we clone it inside the app element where the react-router is, the issue can be resolved.
Reported again: Ticket ID: 1571028