This is a migrated thread and some comments may be shown as answers.

Export to PDF won't wrap on a word

1 Answer 371 Views
PDF Export
This is a migrated thread and some comments may be shown as answers.
Jesse
Top achievements
Rank 1
Jesse asked on 16 Mar 2020, 03:13 PM
When exporting to pdf from a Grid, the column text only wraps on spaces.  If it is on a word, it overlaps into the next column.  How can I get it to always wrap instead of overlapping the next column?

1 Answer, 1 is accepted

Sort by
0
Svet
Telerik team
answered on 18 Mar 2020, 09:52 AM

Hi Jesse,

In general, when exporting to PDF, the exported scene replicates what is visible in the browser. Thus I would suggest to make sure that the Grid column texts do not overlap before it is exported. Please check the following example, where the Grid is resizable. Thus, when any of the columns is resized its content moves to the next line. Consequently, whatever is visible is exported to PDF:

https://stackblitz.com/edit/angular-emjvi8?file=app/app.component.ts

Could I ask you to provide some additional details on your use-case scenario that will help us to better understand what approach has been overtaken so that we are able to reproduce the reported behavior of column texts overlapping. Thank you in advance. I am looking forward to your reply.

Regards,
Svetlin
Progress Telerik

Get quickly onboarded and successful with your Telerik and Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
PDF Export
Asked by
Jesse
Top achievements
Rank 1
Answers by
Svet
Telerik team
Share this question
or