Empty table html attribute
Empty table html attribute

Hello,
Is it possible to use https://datatables.net/reference/option/language.emptyTable as html attribute?
I tried many combinaison but cannot get it working, data-emptytable, data-language--emptytable, etc...
Thanks!
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Look at this example. Click the HTML tab to see the HTML5 data attributes used. Note the use of
"
to represent the"
character.You will need to set the
data-language
attribute using the object structure shown in thelanguage.emptyTable
docs, for example:Running example:
https://live.datatables.net/dobohabe/1/edit
Kevin
Thank you very much!
Have a great New Year's Eve!