Using sUrl in defaults
Using sUrl in defaults
mdaun
Posts: 2Questions: 0Answers: 0
Hi,
i'm using DataTables 1.9.4 and try to use the sUrl feature in the defaults function:
[code]
$.extend($.fn.dataTable.defaults, {
"oLanguage": {
"sUrl": "/content/resources/language.txt"
},
"bProcessing": true,
"bStateSave": true,
"bDestroy": true
});
[/code]
I encounter the same problem mentioned here: http://datatables.net/forums/discussion/10110/internationalisation-problem/p1
[quote]...the datatable is not bound and by default, the "processing..." is always displayed.[/quote]
Thanks
Matthias
i'm using DataTables 1.9.4 and try to use the sUrl feature in the defaults function:
[code]
$.extend($.fn.dataTable.defaults, {
"oLanguage": {
"sUrl": "/content/resources/language.txt"
},
"bProcessing": true,
"bStateSave": true,
"bDestroy": true
});
[/code]
I encounter the same problem mentioned here: http://datatables.net/forums/discussion/10110/internationalisation-problem/p1
[quote]...the datatable is not bound and by default, the "processing..." is always displayed.[/quote]
Thanks
Matthias
This discussion has been closed.
Replies
[code]
$.extend(true, $.fn.dataTable.defaults, {
[/code]
since you are extending a nested object.
Allan