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

Long Task name in pdf

6 Answers 171 Views
Gantt
This is a migrated thread and some comments may be shown as answers.
Mariam
Top achievements
Rank 1
Iron
Iron
Veteran
Mariam asked on 24 Aug 2020, 10:25 AM

Hello.

I have a task, with a long name(screenshot-1.png), and i show it with tooltip, like in screenshot-2.png. But in pdf i can't see its full name(screenshot-3.png). Can I do the same in pdf? 

6 Answers, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 26 Aug 2020, 08:30 AM

Hello, Mariam,

I'm afraid that the Export functionality exports the layout of the page to PDF. That's why, the output is the one which is observed in the third screenshot. 

An option would be to have your Title column as wide as possible, in order to display the large title for the tasks. Hence, they will be observable in the exported PDF.

Regards,
Nencho
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Mariam
Top achievements
Rank 1
Iron
Iron
Veteran
answered on 31 Aug 2020, 01:17 PM
I have tried to change widths of rows and header before export, but nothing happened. Can you help me? How to resize column before exporting? 
0
Nencho
Telerik team
answered on 02 Sep 2020, 01:26 PM

Hello, Mariam,

You can use the setOptions method and set the listWidth as demonstrated below:

var gantt = $("#gantt").getKendoGantt()
gantt.setOptions({listWidth: "600px"})

Hope this would help.

Regards,
Nencho
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Mariam
Top achievements
Rank 1
Iron
Iron
Veteran
answered on 04 Sep 2020, 10:04 AM

I try to set width via setOptions,like this:

var gantt = $("#gantt").getKendoGantt();
var columns = gantt.options.columns;
columns[3].width = 1000
gantt.setOptions({columns: columns})

but it changes all options,not only columns.

I have also tried this way: 
$("#gantt").getKendoGantt().list.columns[3].width = 1000;
$("#gantt").getKendoGantt().refresh();

but in this way header 's column width was not changed, only body columns were changed. 

 Is there any way to set only column option, or to change one column's width?

0
Mariam
Top achievements
Rank 1
Iron
Iron
Veteran
answered on 07 Sep 2020, 09:54 AM
I have find another solution for my problem, thanks for your help. 
0
Nencho
Telerik team
answered on 08 Sep 2020, 05:29 AM

Hello, Mariam,

I'm happy to see that you were able to come up with a solution to the scenario that you have. Do you mind sharing it here, with the community? This way, next time someone with a similar scenario hits the same requirements will find the thread helpfull.

Thank you in advnace!

Regards,
Nencho
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Gantt
Asked by
Mariam
Top achievements
Rank 1
Iron
Iron
Veteran
Answers by
Nencho
Telerik team
Mariam
Top achievements
Rank 1
Iron
Iron
Veteran
Share this question
or