Found a bug with setting defaults
Found a bug with setting defaults
I've found that you cannot specify the oLanguage setting in the defaults. I've set up an example here:
http://live.datatables.net/eqOQ/1/edit?html,js,output
With oLanguage added to the default declaration the Search box is not rendered (in my instance on my server the page failed to load, though I couldn't produce that here), if you move this to the code creating the specific instance of the datatable it works fine.
Below is a link of it working as expected:
http://live.datatables.net/eqOQ/2/edit?html,js,output
http://live.datatables.net/eqOQ/1/edit?html,js,output
With oLanguage added to the default declaration the Search box is not rendered (in my instance on my server the page failed to load, though I couldn't produce that here), if you move this to the code creating the specific instance of the datatable it works fine.
Below is a link of it working as expected:
http://live.datatables.net/eqOQ/2/edit?html,js,output
This discussion has been closed.
Replies
Yes you can. but because you are extended a nested object, you need to use jQuery's deep extend, rather than a shallow extend as you were: http://live.datatables.net/eqOQ/3/edit
Allan