numbers and date being sorted as text

numbers and date being sorted as text

pluginfanpluginfan Posts: 6Questions: 0Answers: 0
edited March 2011 in General
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]

Replies

  • pluginfanpluginfan Posts: 6Questions: 0Answers: 0
    Never mind ... stupid me ... there was a tag inside
    Removed it and ... it works flawlessly
This discussion has been closed.