how to use sClass?

how to use sClass?

thiefyouthiefyou Posts: 14Questions: 0Answers: 0
edited November 2011 in DataTables 1.8
i can't sClass.. help me..

oTable = $('#cns_info_list_table').dataTable({
"bDestroy" : true,
"bJQueryUI": true,
"sScrollY": "540px",
"iDisplayLength": 10,
"sDom": 'rt<"bottom">',
"bProcessing": true,
"bAutoWidth" : false,
"aaSorting" : [[0, "desc"]],
"aoColumns" : [{"sWidth" : "135px" , "bSortable" : false},
{"sClass" : "left"},
{"sWidth" : "125px" },
{"sWidth" : "360px" }]
});




A
B
C
D

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Looks like its working okay to me: http://live.datatables.net/onetit/edit . Perhaps you can link us to your example, or a "live" example that doesn't work?

    Allan
  • thiefyouthiefyou Posts: 14Questions: 0Answers: 0
    oh... so sorry...
    alreay defined CSS text-align:center;...

    thanks comment Allan!
This discussion has been closed.