Hi,
thanks for your post, and sorry for the trouble.
For this, you could try adding a “Custom Command” on the table’s “Edit” screen:
"buttons": [ { "extend": "print", "title": "Your table title", "message": "Your table description"} ]
(Depending on whether you are showing other buttons as well, this needs to be adjusted. If this is the case, please post a link to the page with your table.
Regards,
Tobias
Hi
I intent to put an image in head of table ( In Print ) and use this command:
“buttons”: [ { “extend”: “print”, “title”: “<div style=” text-align:center”>
</div>”, “message”: “Your table description”} ]
Now image show corretly in print ans also webview but in webview , But DataTables Buttons not show in webview.
2. Is it possible/how to show username/nicname in this area?
Regards,
Meran
Hi,
I don’t know if you can use HTML code there, to be honest. If so, you would have to escape the quotation marks, like
<div style=\"text-align:center\">
and so on, with \" instead of " in the content.
I don’t see a way to use the user name here, sorry, because this is dynamic information while the command is static. You could maybe use JS variables here though.
Regards,
Tobias