sLoadingRecords string not working in first AJAX Load
sLoadingRecords string not working in first AJAX Load

sLoadingRecords string not working in first AJAX Load.
It shows sZeroRecords string instead.
My code:
[code]
var oTable;
oTable= $('#historicos').dataTable({
"bProcessing" : true,
"sAjaxSource" : baseUrl + '/historicos/getJSON',
"bJQueryUI": true,
"sPaginationType": "full_numbers",
"bLengthChange": false,
"bAutoWidth": true,
"sScrollY": "300px",
"bInfo": true,
"iDisplayLength": 50,
"aaSorting": [[ 1, "desc" ]],
"oLanguage": {
"sLoadingRecords" : "Obteniendo datos...",
"sZeroRecords": "No se han encontrado datos",
"sInfo": "Mostrando de _START_ a la _END_ de _TOTAL_",
"sInfoEmpty": "Mostrando 0 a 0 de 0 datos",
"sSearch": "Buscar en histórico:",
"sProcessing" : "Procesando...",
"oPaginate" : {
"sFirst": "Primero",
"sLast": "Último",
"sPrevious": "Anterior",
"sNext" : "Siguiente"
}
}
});
[/code]
Thank you for this fantastic component!
It shows sZeroRecords string instead.
My code:
[code]
var oTable;
oTable= $('#historicos').dataTable({
"bProcessing" : true,
"sAjaxSource" : baseUrl + '/historicos/getJSON',
"bJQueryUI": true,
"sPaginationType": "full_numbers",
"bLengthChange": false,
"bAutoWidth": true,
"sScrollY": "300px",
"bInfo": true,
"iDisplayLength": 50,
"aaSorting": [[ 1, "desc" ]],
"oLanguage": {
"sLoadingRecords" : "Obteniendo datos...",
"sZeroRecords": "No se han encontrado datos",
"sInfo": "Mostrando de _START_ a la _END_ de _TOTAL_",
"sInfoEmpty": "Mostrando 0 a 0 de 0 datos",
"sSearch": "Buscar en histórico:",
"sProcessing" : "Procesando...",
"oPaginate" : {
"sFirst": "Primero",
"sLast": "Último",
"sPrevious": "Anterior",
"sNext" : "Siguiente"
}
}
});
[/code]
Thank you for this fantastic component!
This discussion has been closed.
Replies
It shows sZeroRecords text instead of the sLoadingRecords text.
Please help.
Allan