bootstrap添加序号

{
title: '序号',
align: 'center',
halign: 'center',
formatter: function (value, row, index) {
var options = $('#bootstrap-table').bootstrapTable('getOptions');
return options.pageSize * (options.pageNumber - 1) + index + 1;
}
},

posted @ 2020-11-25 18:00  逝年的我们  阅读(556)  评论(0编辑  收藏  举报