layui 数据表格请求传参_layui之数据表格--与后台交互获取数据的方法

论坛 期权论坛 编程之家     
选择匿名的用户   2021-6-2 20:17   1915   0

jsp或html

js

//用户列表

var tableIns = table.render({

elem: '#userList',

url : 'userAction_findAll.action',

cellMinWidth : 95,

page : true,

height : "full-125",

limits : [10,15,20,25],

limit : 10,

id : "userListTable",

cols : [[

{type: "checkbox", fixed:"left", width:50},

{field: 'userName', title: '用户名', minWidth:100, align:"center"},

{field: 'userEmail', title: '用户邮箱', minWidth:200, align:'center',templet:function(d){

return ' 相关资源:layui数据表格重载实现往后台传参

分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:3875789
帖子:775174
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP