Is it possible to customize the "No data available in table" message?
Is it possible to customize the "No data available in table" message?
Boilermaker80
Posts: 19Questions: 6Answers: 0
I'm developing a web-based file manager and when a directory containing no files is selected, the following JSON object is returned:
{
"status" : "success",
"data" : [
]
}
and DataTables displays the "No data available in table" message. Is there a way to display "No files found" instead?
This question has accepted answers - jump to:
This discussion has been closed.
Answers
https://datatables.net/reference/option/language
Hi @Boilermaker80 ,
Yep, as @tangerine said, it's an initialisation option. See this thread here.
Cheers,
Colin
Thanks, folks. Appreciate your help.