2013-02-05 62 views

回答

0
$('#table_items').dataTable({ 
     "aaSorting": [[ 5, "desc" ]], 
     "bPaginate": false, 
     "bFilter": false, 
     "bInfo": false 
}); 

'#table_items' - the id of your table 
"aaSorting": [[ 5, "desc" ]] - here 5 is the number of column for default sorting 
All columns will be sortable automatically 
+0

謝謝。但是我的測驗是使用我的條件數據,並將值添加到表格中。這是可能的? – user279

相關問題