Hey all, I tried to google for others with this issue but was unable to find anything.
When I have bServerSide = true, oLanguage values are ignored. If I set it to false the values I set are listened to.
I'm using datatables to help out with the format & display of a huge medical dataset, and I don't want to load all the content for the user's query at once so setting bServerSide to false is not an option.
However, when I try to specify custom oLanguage values, either using oLanguage : { key : value } or oLanguage { sUrl : URL }, the values are ignored entirely.
If I use sUrl I can clearly see that the request is made & returns 200 ok with the JSON object, but the values are still ignored.
Any help or insight would be greatly appreciated.
Parameters:
oLanguage Object:
Thank you.
When I have bServerSide = true, oLanguage values are ignored. If I set it to false the values I set are listened to.
I'm using datatables to help out with the format & display of a huge medical dataset, and I don't want to load all the content for the user's query at once so setting bServerSide to false is not an option.
However, when I try to specify custom oLanguage values, either using oLanguage : { key : value } or oLanguage { sUrl : URL }, the values are ignored entirely.
If I use sUrl I can clearly see that the request is made & returns 200 ok with the JSON object, but the values are still ignored.
Any help or insight would be greatly appreciated.
Parameters:
"aaSorting" : [[0, "desc"]], "aoColumnDefs" : *omitted*, "bProcessing" : true, "bInfo" : "oLanguage" : { "sUrl" : i18n/dataTables/oLanguage_EN-US.php' }, "bServerSide": true, "bRetrieve" : true, "sServerMethod" : "POST", "sAjaxSource" : "*omitted*", "iDisplayLength" : 10, "bAutoWidth" : false, "sDom" : '<"class"li<"clear">>rt<"class"p><"clear">', "aLengthMenu" : [[10, 25], [10, 25]], "sPaginationType" : "numeric", "fnInitComplete" : *omitted*, "fnServerData" : *omitted*
oLanguage Object:
{ "sEmptyTable" : "value", "sZeroRecords" : "value", "sLoadingRecords" : "value", "sProcessing " : "value", "sInfo" : "Showing _START_ to _END_ of _TOTAL_ records" }
Thank you.