language.emptytable
language.emptytable
DTCustomUser
Posts: 1Questions: 1Answers: 0
table.fnSettings().oLanguage.sEmptyTable = "Now empty";
What is the equivalent for this in 1.10.11
This discussion has been closed.
Answers
The settings object is considered to be private and should never be accessed. Why do you need to read information from the settings object?
Allan
He probably just wants to edit it
https://datatables.net/reference/option/language.emptyTable
Unfortunately, dynamically changing the language variables in DataTables is not something that is currently supported.
Allan
DataTables 1.10.13 places a single row, single column with the class 'dataTables_empty' in the table when no rows are returned, so try something like this:
In the DataTable.initComplete function, add this jQuery directive:
where $theTable points to the table being managed by dataTables