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
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
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
Hi Georgi,
Another issue is the task placement when export to PDF.
Attached img to illustrate the situation
Thanks,
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
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
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
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
For the time being this feature falls in the Known Limitations section. Browsers 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