在要删除的数据表中排序箭头 [英] Sort arrows in datatables to be removed

查看:186
本文介绍了在要删除的数据表中排序箭头的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

需要帮助删除数据表头行上的排序箭头(asc和desc),然后当用户单击标题列时会出现一个升序箭头,当然数据将按照升序排列

Need help in removing sort arrows (asc and desc) on data tables header row, then when the user click the header column an ascending arrow will appear and of course data will be sorted in asc order

推荐答案

aoColumnDefs:[{bSortable:false,aTargets:[1,3]}]

"aoColumnDefs": [ { "bSortable": false, "aTargets": [ 1, 3 ] } ]

从第二列和第四列中删除排序箭头。

To remove sort arrows from the second and the fourth columns.

ref - > http://wordpress.org/support/topic/plugin-wp-table -reloaded-removal-the-updown-sorting-arrows-on-specific-columns

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

这篇关于在要删除的数据表中排序箭头的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆