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

PDF export - can't see the title

9 Answers 131 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Ran
Top achievements
Rank 1
Ran asked on 29 Nov 2015, 09:09 AM

Hi,

 

On PDF export the dataItem's title does not appear properly.

Here is my code:

schema: {
                    model: {
                        fields: {
                            id: {from: "id", defaultValue: null, nullable: true},
                            start: {type: "date", from: "start"},
                            end: {type: "date", from: "end"},
                            recurrenceRule: {from: "recurrenceRule", defaultValue: "FREQ=WEEKLY"},
                            route_id: {
                                from: "route_id",
                                defaultValue: $scope.editSite.routes.length > 0 ? $scope.editSite.routes[0] : 0,
                                validation: {required: true}
                            },
                            route_name: {from: "route_name"},
                            isAllDay: {type: "boolean", defaultValue: false}
                        }
                    }
                }

 

 

<div id="scheduler" kendo-scheduler class="clear" k-options="schedulerOptions"
    <span k-event-template class='route-scheduler-title'>{{dataItem.route_name}}</span>
</div>

 

 

9 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 02 Dec 2015, 08:04 AM
Hello Ran,

I tried to replicate the erroneous behavior, but to no avail. Could you review the demo: and the following screencast: Would it be possible to modify the demo and demonstrate the problem?

Regards,
Georgi Krustev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Ran
Top achievements
Rank 1
answered on 02 Dec 2015, 12:06 PM

 Hi Georgi,

 As you asked:

 http://dojo.telerik.com/@idoglik6/ocavO

Thanks,

Ran

0
Ran
Top achievements
Rank 1
answered on 02 Dec 2015, 12:14 PM

Hi Georgi,

 I forgot to mention that it is important that the button export to PDF will be external and not part of the toolbar.

Thanks,

Ran

 

0
Ran
Top achievements
Rank 1
answered on 03 Dec 2015, 09:18 AM

 Hi Georgi,

 Another issue is the task placement when export to PDF.

Attached img to illustrate the situation

Thanks,

Ran

0
Georgi Krustev
Telerik team
answered on 04 Dec 2015, 10:57 AM
Hello Ran,

I am afraid that the export will not work, because we do not support RTL PDF export. There is no workaround that I will be able to suggest for the time being.

As to the second problem, it seems that it is a timing issue and it is caused by the vertical scrollbar. We will further investigate it. We will find a proper solution for it and will release it in the next official release.

Regards,
Georgi Krustev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Ran
Top achievements
Rank 1
answered on 06 Dec 2015, 08:59 AM

Hi,

I updated the code here :  http://dojo.telerik.com/@idoglik6/ocavO

I added the PDF export to the toolbar.

It looks exports works better here . It identifies the name of the Route but there is a problem with the Hebrew language .

When I changed the name into English it works fine . Is there a way to support Hebrew ?  

and Why export works differently when export with external button or a button that is part of a toolbar ?

Thanks,

Ran

 

0
Georgi Krustev
Telerik team
answered on 09 Dec 2015, 08:56 AM
Hello Ran,

As I mentioned in my previous reply, Kendo PDF export does not support exporting RTL languages. As far as I know Hebrew is RTL language, hence it will not be exported correctly.

I am afraid that there is no feasible workaround that I would be able to suggest. The only solution that you can use is to export the Scheduler widget on the server using a 3rd party server solution. How this would be implemented is entirely up to the developer responsible for this task.

Regards,
Georgi Krustev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Ran
Top achievements
Rank 1
answered on 18 Jan 2016, 08:54 AM

 Hi Georgi,

Can you can estimate when it will be possible to export pdf which supported by the RTL languages (hebrew).

Maybe use a specific font can help ?

 Thanks,

Ran

 

0
Dimitar
Telerik team
answered on 19 Jan 2016, 09:05 AM
Hello Ran,

For the time being this feature falls in the Known Limitations sectionBrowsers do not provide out of the box the necessary information how to draw RTL text in a PDF. Changing fonts would not resolve the issue. There is no current plan for providing such export support. I would suggest you to cast your vote in our User Voice portal for the Add Right To Left PDF support item. You may add comments and track this item progress. The more votes an item receives, more likely it gets to be included in the roadmap. As more votes would mean that this feature would bring benefit to more users at a time, if implemented. I hope this makes sense.

Regards,
Dimitar
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Scheduler
Asked by
Ran
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Ran
Top achievements
Rank 1
Dimitar
Telerik team
Share this question
or