numbers and date being sorted as text
numbers and date being sorted as text
Not sure .. what i am doing wrong ...
[code]
@import "css/demo_table_jui.css";
@import "css/TableTools.css";
$(document).ready(function () {
$('#example').dataTable({
"sDom": 'T<"clear">lfrtip',
"oTableTools": {
"sSwfPath": "swf/copy_cvs_xls_pdf.swf" ,
"aButtons": [
{
"sExtends": "copy",
"mColumns": [0, 2, 3, 4,5]
},
{
"sExtends": "csv",
"mColumns": [0, 2, 3, 4,5]
},
{
"sExtends": "xls",
"mColumns": [0, 2, 3, 4,5]
},
{
"sExtends": "pdf",
"mColumns": [0, 2, 3, 4,5]
}
],
},
"aaSorting": [[0,'asc']],
"aoColumns" : [ null,
{"bVisible": false},
null,
null,
null,
null,
null,
null,
null
]
});
});
[/code]
[code]
@import "css/demo_table_jui.css";
@import "css/TableTools.css";
$(document).ready(function () {
$('#example').dataTable({
"sDom": 'T<"clear">lfrtip',
"oTableTools": {
"sSwfPath": "swf/copy_cvs_xls_pdf.swf" ,
"aButtons": [
{
"sExtends": "copy",
"mColumns": [0, 2, 3, 4,5]
},
{
"sExtends": "csv",
"mColumns": [0, 2, 3, 4,5]
},
{
"sExtends": "xls",
"mColumns": [0, 2, 3, 4,5]
},
{
"sExtends": "pdf",
"mColumns": [0, 2, 3, 4,5]
}
],
},
"aaSorting": [[0,'asc']],
"aoColumns" : [ null,
{"bVisible": false},
null,
null,
null,
null,
null,
null,
null
]
});
});
[/code]
This discussion has been closed.
Replies
Removed it and ... it works flawlessly