sort

今天为大家详细讲解有关layui使用table的sort排序的方法,sort是将数组中的对象按某个成员重新对该数组排序,在对表格数据进行分析时,经常需要用到排序功能,对应的layui中的sort参数,希望大家有所帮助。

table.render({
    id: 'test',
    elem: '#test',
    url: "/test/",
 &nbs...