Conflict between internationalization and DataTables Row Grouping add-in
Conflict between internationalization and DataTables Row Grouping add-in
![Super_Guillaume](https://secure.gravatar.com/avatar/49441608e6d4d751b3bc11ee44f7c1ab/?default=https%3A%2F%2Fvanillicon.com%2F49441608e6d4d751b3bc11ee44f7c1ab_200.png&rating=g&size=120)
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