How should oLanguage be passed to dataTable.defaults?
How should oLanguage be passed to dataTable.defaults?
I'm trying to set oLanguage's values in $.fn.dataTable.defaults, but it doesn't seem to work. In fact, when it's included, none of the other defaults work, either.
http://live.datatables.net/eselem/
Here adding the oLanguage variable makes the table ignore the bPaginate completely because oLanguage is set.
http://live.datatables.net/eselem/2/
But here the pagination works fine without oLanguage set.
This is really weird, since the page on dataTable.defaults says that it takes all the same parameters as a regular initialization. Does anyone know how to make it accept oLanguage?
Thanks!
http://live.datatables.net/eselem/
Here adding the oLanguage variable makes the table ignore the bPaginate completely because oLanguage is set.
http://live.datatables.net/eselem/2/
But here the pagination works fine without oLanguage set.
This is really weird, since the page on dataTable.defaults says that it takes all the same parameters as a regular initialization. Does anyone know how to make it accept oLanguage?
Thanks!
This discussion has been closed.
Replies
Allan
Thanks!