layui表格添加排序列





layui2.x更新

var tableIns = table.render({
    elem: '#elem',
    url: '/xxxx',//数据接口
    page: true, //开启分页
    ,col:[[
        {field: 'index', title: '排序', fixed: 'left', type: 'numbers'},
    ]]
  
  
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7




layui2.x更新



layui2.x更新

猜你喜欢

转载自blog.csdn.net/m0_37775900/article/details/82430204