bootstrap-table设置某列序号自增

col = [{
    field: 'SerialNumber',
    title: '序号',
    formatter: function (value, row, index) {
        return index+1;
    }
}]

  

posted @ 2017-02-20 10:19  慵懒的小猪  阅读(8522)  评论(0编辑  收藏  举报