Sorting errors! Cross-Browser Compatibility
Sorting errors! Cross-Browser Compatibility

hello all!
im new with datatables, i found it awesome and thanks to the creator =D
well im having a big/small issue.. I can't sort the ID column in Internet Explorer, Firefox while in Google Chrome i can,, but i need it to work in Internet Explorer..
The error is when i add the code to column sorting = numeric .... my code:
[code] $(document).ready(function() {
oTable = $('#example').dataTable({
"bJQueryUI": true,
"sPaginationType": "full_numbers",
//For scrolling
"sScrollX": "100%",
"sScrollXInner": "110%",
"bScrollCollapse": true,
//End for scrolling
//Sorting Numeric Type
"aoColumnDefs": [ { "sType": "numeric", "aTargets": [ 0 ] } ]
// End sorting type
}); [/code]
Thanks in advance.
im new with datatables, i found it awesome and thanks to the creator =D
well im having a big/small issue.. I can't sort the ID column in Internet Explorer, Firefox while in Google Chrome i can,, but i need it to work in Internet Explorer..
The error is when i add the code to column sorting = numeric .... my code:
[code] $(document).ready(function() {
oTable = $('#example').dataTable({
"bJQueryUI": true,
"sPaginationType": "full_numbers",
//For scrolling
"sScrollX": "100%",
"sScrollXInner": "110%",
"bScrollCollapse": true,
//End for scrolling
//Sorting Numeric Type
"aoColumnDefs": [ { "sType": "numeric", "aTargets": [ 0 ] } ]
// End sorting type
}); [/code]
Thanks in advance.
This discussion has been closed.
Replies
Allan
1
14
2
3
4
45
5
Without this code
[code]"aoColumnDefs": [ { "sType": "numeric", "aTargets": [ 0 ] } ] [/code]
Sorting works, but not as numeric type. Am i wrong in something, or do you know the solution? Thanks in advance
[code]"aoColumnDefs": [ { "sType": "numeric", "aTargets": [ 0 ] } ][/code]
Because in Google Chrome works fine, but not in Internet Explorer. ):
Allan