Conflict between internationalization and DataTables Row Grouping add-in
Conflict between internationalization and DataTables Row Grouping add-in
Super_Guillaume
Posts: 1Questions: 0Answers: 0
Hey guys,
I've got a conflict between internationalization and DataTables Row Grouping add-in.
I use jQuery 1.10.2, datatables 1.9.4 and DataTables Row Grouping 1.2.9 !
Any ideas how to fix it ?
Thanks
[code]$(document).ready(function() {
$('#resources').dataTable({
"bProcessing": true,
"sAjaxSource": '/backend/resource/load', //json input
"aoColumns": [
{ "mData": "module" },
{ "mData": "controller" },
{ "mData": "action" },
{ "mData": "id" }
],
"aoColumnDefs": [
{
"aTargets": [ 3 ],
"mData": "renderId",
"mRender": function (data) {
return 'Editer';
}
}
],
"oLanguage": {
"sUrl": "/js/dataTables.fr.txt" // fr translation
}
}).rowGrouping();
} );
[/code]
I've got a conflict between internationalization and DataTables Row Grouping add-in.
I use jQuery 1.10.2, datatables 1.9.4 and DataTables Row Grouping 1.2.9 !
Any ideas how to fix it ?
Thanks
[code]$(document).ready(function() {
$('#resources').dataTable({
"bProcessing": true,
"sAjaxSource": '/backend/resource/load', //json input
"aoColumns": [
{ "mData": "module" },
{ "mData": "controller" },
{ "mData": "action" },
{ "mData": "id" }
],
"aoColumnDefs": [
{
"aTargets": [ 3 ],
"mData": "renderId",
"mRender": function (data) {
return 'Editer';
}
}
],
"oLanguage": {
"sUrl": "/js/dataTables.fr.txt" // fr translation
}
}).rowGrouping();
} );
[/code]
This discussion has been closed.
Replies
Allan