Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
データ テーブルのヘッダー行の並べ替え矢印 (asc と desc) を削除するのに助けが必要です。ユーザーがヘッダー列をクリックすると、昇順の矢印が表示され、もちろんデータは昇順で並べ替えられます。
$("#MyDataTable").dataTable({ "aoColumns": [{"bSortable": false}, null] });
"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