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数据表格重载实现往后台传参 |