Can't seem to get Title, messageTop and messageBottom to work

Can't seem to get Title, messageTop and messageBottom to work

hm123hm123 Posts: 80Questions: 23Answers: 1
edited September 2017 in Free community support

I tried out what I found here:

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

But I'm unable to get any output with Title, messageTop, messageBottom

https://jsfiddle.net/hm123/0ktq8pds/3/

What am I doing wrong?

This question has an accepted answers - jump to answer

Answers

  • rf1234rf1234 Posts: 2,801Questions: 85Answers: 406

    @allan, I think what hadith is explaining here is a bug because not even the example is working. I tried with my own Excel export and none of the above worked. All I got working was "title" in the pdf-export.

  • tangerinetangerine Posts: 3,342Questions: 35Answers: 394

    There's a note on the example page:

    NOTE - STILL IN DEVELOPMENT. Only Excel export works as it should thus far

    but even Excel isn't working for me (in the example, that is - I don't actually need it myself).

  • rf1234rf1234 Posts: 2,801Questions: 85Answers: 406

    I've overlooked that, too! You are right Excel isn't working, but pdf is for title :smile:

  • allanallan Posts: 61,452Questions: 1Answers: 10,055 Site admin
    Answer ✓

    Sorry! I've published the example and documentation prematurely. The excelHtml5 documentation notes that it is for v1.4.0+.

    I'll get the update for Buttons published shortly. Until then, if you want to try it out, use the nightly version.

    Allan

  • arodriguezearodrigueze Posts: 2Questions: 0Answers: 0

    Hi, any news?

  • allanallan Posts: 61,452Questions: 1Answers: 10,055 Site admin

    Should be working fine now - example here. Buttons 1.4.2 is the current release.

    Allan

This discussion has been closed.