3

データ テーブルのヘッダー行の並べ替え矢印 (asc と desc) を削除するのに助けが必要です。ユーザーがヘッダー列をクリックすると、昇順の矢印が表示され、もちろんデータは昇順で並べ替えられます。

4

6 に答える 6

4
 $("#MyDataTable").dataTable({            
 "aoColumns": [{"bSortable": false}, null]        
 }); 
于 2012-07-02T17:55:33.543 に答える
4
"aoColumnDefs": [ { "bSortable": false, "aTargets": [ 1, 3 ] } ]

2 番目と 4 番目の列からソート矢印を削除します。

参照: http://wordpress.org/support/topic/plugin-wp-table-reloaded-removing-the-updown-sorting-arrows-on-specific-columns

于 2012-11-20T05:41:42.040 に答える