DevExtreme v24.2 is now available.

Explore our newest features/capabilities and share your thoughts with us.

Your search did not match any results.

React Data Grid - Export Images

This demo shows how to configure the DataGrid to export data with images to a PDF document.

Use the customDrawCell function to redraw the content of the cell. Inside this function, implement the jsPDF.addImage() method that specifies image data. Specify the onRowExporting function to change the height of the rows to fit the images.

To give you the ability to edit code on the fly, the demo uses SystemJS. For this reason, launching the demo takes some time. We strongly recommend that you do not use this approach in real projects.
Backend API