0

我需要将一些过滤器数据(来自条件)添加到 jquery 数据表中。怎么可能?

4

1 回答 1

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
于 2013-02-05T06:50:50.753 回答