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](https://secure.gravatar.com/avatar/fe92105a071b4d3bbf29b58f5671771c/?default=https%3A%2F%2Fvanillicon.com%2Ffe92105a071b4d3bbf29b58f5671771c_200.png&rating=g&size=120)
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.