How to add external data in header and footer with design???

How to add external data in header and footer with design???

RekaReka Posts: 21Questions: 6Answers: 0

Usually header will be viewed in all pages.What i want to know is How to customise below link and add external data or images above header in which those datas must be viewed in all respective pages like header?

https://datatables.net/extensions/buttons/examples/initialisation/export.html

The next question is I want some text content in footer which also must be displayed in all pages?

Kindly confirm whether two questions have solutions.Need a quick reply which would be grateful.

Replies

  • RekaReka Posts: 21Questions: 6Answers: 0

    Hi
    anybody help me...

  • allanallan Posts: 61,795Questions: 1Answers: 10,115 Site admin

    There is no API to change the header text on each page change. Having said that, you could listen for the page event and then use column().header() to modify the header cell text.

    The next question is I want some text content in footer which also must be displayed in all pages?

    If that text is also dynamic you'd need to use the same approach with column().footer().

    Need a quick reply which would be grateful.

    Priority support is available if you need quick help.

    Allan

  • RekaReka Posts: 21Questions: 6Answers: 0

    Okay thanks. I will try

  • RekaReka Posts: 21Questions: 6Answers: 0

    I have one more doubt. While I am working on orientation,there is an issue with Adode reader

    If I use landscape,i can able to view page split up if number of pages is greater one.

    When I use portrait, I cannot able to view page split up between each pages in adode pdf.

    I want to know Why and alternative solution..

  • allanallan Posts: 61,795Questions: 1Answers: 10,115 Site admin

    That would be one for Adobe support - I'm afraid I can't help there.

    Allan

  • RekaReka Posts: 21Questions: 6Answers: 0

    okay thanks.

  • RekaReka Posts: 21Questions: 6Answers: 0
    edited November 2016

    I have attached screen shot.
    My problem is Page split up when long text occurred.

    How to resolve this issue???

  • RekaReka Posts: 21Questions: 6Answers: 0

    https://datatables.net/extensions/buttons/examples/html5/pdfPage.html

    You download a pdf from above url.
    open a pdf by using Adobe pdf reader and preview for mac.

  • tangerinetangerine Posts: 3,350Questions: 37Answers: 394

    Allan already answered this. You need Adobe support.

  • RekaReka Posts: 21Questions: 6Answers: 0

    @tangerine i found the solution . leave that question.
    did you see the screenshot?
    can you reply for that question?

  • allanallan Posts: 61,795Questions: 1Answers: 10,115 Site admin

    That's an issue with the pdfmake library. It might have a text wrap option, but I'm not sure. You'd need to refer to their documentation.

    https://datatables.net/extensions/buttons/examples/html5/pdfPage.html

    You download a pdf from above url.
    open a pdf by using Adobe pdf reader and preview for mac.

    It appears to work okay for me.

    Allan

This discussion has been closed.