Need help with aoColumnDefs

Need help with aoColumnDefs

ambastaambasta Posts: 6Questions: 0Answers: 0
edited August 2010 in General
Hi, I am trying to sort by default on column 0 and disable sort on column 1 as:

[code]
var oTable = $( "#res_table").dataTable( {
"sPaginationType": "full_numbers",
"bJQueryUI": true,
"sDom": \'<"H"lr>t<"F"ip>\',
"sScrollX": "100%",
"bScrollCollapse": true,
"sScrollY": "200px",
"aoColoumnDefs": [
{ "aTargets": [ 0 ], "iDataSort": 1},
{ "aTargets": [ 1 ], "bSortable": false}
]
});
[/code]

However where iDataSort works, bSortable false doesn't seem to since I am able to sort on column 1 anyways. What am I doing wrong?

Replies

  • ambastaambasta Posts: 6Questions: 0Answers: 0
    nm, figured.. columns and coloumns =_=
This discussion has been closed.