How can i define multiple alignement columns ?
How can i define multiple alignement columns ?
Look at this :
[code]
var somevar = $('#somediv').dataTable({
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "someurl",
====> "aoColumnDefs": [
{ "sClass": "center", "aTargets": [ 2 ] },
{ "sClass": "right", "aTargets": [ 5,6 ] }
]
});
[/code]
What's the best practice to do this something like that ?
[code]
var somevar = $('#somediv').dataTable({
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "someurl",
====> "aoColumnDefs": [
{ "sClass": "center", "aTargets": [ 2 ] },
{ "sClass": "right", "aTargets": [ 5,6 ] }
]
});
[/code]
What's the best practice to do this something like that ?
This discussion has been closed.