Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82721

How to get "messageTop" to work with excelHtml5

$
0
0

I need to place a message into the body of an exported excel document and I'm not having any luck. The data table exports just fine, but I don't see the message.

I've tried this.

buttons: [
    {
        extend: 'excelHtml5',
        messageTop:'This is a test'
    }
]

I've also tried this.

buttons: [
    {
        extend: 'excelHtml5',
        exportOptions:
        {
            messageTop: 'Another test' 
        }
    }
]

What am I doing wrong? How to I get message text to appear above the exported table?


Viewing all articles
Browse latest Browse all 82721

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>