I'm surprised it works at all with two aoColumns definitions :-). I'm guessing that the browser will simply throw away the first one, and use the second.
You want to do something like:
[code]
"aoColumns": [
{ "bSortable": true, "sType": "html" },
{ "bSortable": true },
...
}
[/code]
Note that bSortable is true by default, you don't need to specify this, unless you want to be verbose.
Replies
Example this works:
[code]
"aoColumns": [{"bSortable":true}, {"bSortable":true}, {"bSortable":true}, {"bSortable":false}],
"aoColumns": [{"sType":"html"}, null, null, null]
This doesn't work:
"aoColumns": [{"sType":"html"}, null, null, null],
"aoColumns": [{"bSortable":true}, {"bSortable":true}, {"bSortable":true}, {"bSortable":false}]
[/code]
You want to do something like:
[code]
"aoColumns": [
{ "bSortable": true, "sType": "html" },
{ "bSortable": true },
...
}
[/code]
Note that bSortable is true by default, you don't need to specify this, unless you want to be verbose.
Allan