Layui 表格设置序号
时间:2020-02-27 14:46:30
收藏:0
阅读:510
在表格第一列显示序号,不随表格下一页连续显示。
cols: [[
{
title: ‘#‘,
align: "center",
width: 45,
templet: function (d) {
return ‘<div>‘ + d.LAY_TABLE_INDEX + ‘</div>‘
}
]],
原文:https://www.cnblogs.com/Elii/p/12371843.html
评论(0)