PDF export - can't see the title

10 posts, 0 answers
  1. Ran
    Ran avatar
    29 posts
    Member since:
    Apr 2015

    Posted 29 Nov 2015 Link to this post

    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>

     

     

  2. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 02 Dec 2015 Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
  4. Ran
    Ran avatar
    29 posts
    Member since:
    Apr 2015

    Posted 02 Dec 2015 in reply to Georgi Krustev Link to this post

     Hi Georgi,

     As you asked:

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

    Thanks,

    Ran

  5. Ran
    Ran avatar
    29 posts
    Member since:
    Apr 2015

    Posted 02 Dec 2015 in reply to Georgi Krustev Link to this post

    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

     

  6. Ran
    Ran avatar
    29 posts
    Member since:
    Apr 2015

    Posted 03 Dec 2015 in reply to Georgi Krustev Link to this post

     Hi Georgi,

     Another issue is the task placement when export to PDF.

    Attached img to illustrate the situation

    Thanks,

    Ran

  7. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 04 Dec 2015 Link to this post

    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!
     
  8. Ran
    Ran avatar
    29 posts
    Member since:
    Apr 2015

    Posted 06 Dec 2015 in reply to Georgi Krustev Link to this post

    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

     

  9. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 09 Dec 2015 Link to this post

    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!
     
  10. Ran
    Ran avatar
    29 posts
    Member since:
    Apr 2015

    Posted 18 Jan in reply to Georgi Krustev Link to this post

     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

     

  11. Dimitar
    Admin
    Dimitar avatar
    281 posts

    Posted 19 Jan Link to this post

    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!
     
Back to Top
Kendo UI is VS 2017 Ready