Help: Sort number custom type
Help: Sort number custom type
Hi guys,
I have a little difficulty with the way I use the Sort functionality since I'm using numbers in the following format: 100.000,12
The usual sort does not sort properly.
Please help I'm pretty neophyte,
I use the following code:
[code]
function cargarTabla(){
$(function () {
$('#tablaPro').dataTable( {
sDom: '<"top"i>rt<"top"flp><"clear">',
sPaginationType: "bootstrap",
bFilter: false,
bSort: true,
bInfo: false,
bPaginate: false,
sScrollY:"500px",
bLengthChange: false,
oLanguage: {
"sSearch": "Buscar:",
"sInfoThousands": "'",
"sNext": "Siguiente",
"sPrevious": "Anterior"
}
});
});
}
[/code]
sorry for my English
I have a little difficulty with the way I use the Sort functionality since I'm using numbers in the following format: 100.000,12
The usual sort does not sort properly.
Please help I'm pretty neophyte,
I use the following code:
[code]
function cargarTabla(){
$(function () {
$('#tablaPro').dataTable( {
sDom: '<"top"i>rt<"top"flp><"clear">',
sPaginationType: "bootstrap",
bFilter: false,
bSort: true,
bInfo: false,
bPaginate: false,
sScrollY:"500px",
bLengthChange: false,
oLanguage: {
"sSearch": "Buscar:",
"sInfoThousands": "'",
"sNext": "Siguiente",
"sPrevious": "Anterior"
}
});
});
}
[/code]
sorry for my English
This discussion has been closed.
Replies
Allan