bootstraptable动态添加行 bootstrap-table怎么添加行号
bootstrap-table怎么添加行号
借助index {
field: Number,
title: Number,
formatter: function (value, row, index) {
return index 1
}
}
Bootstrap Table 如何像下面一样额外添加一行标题?
就业情况 | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
就业 | 就业 | 就业 | ||||||||||||
1 | 2 | 2 | 2 | 2 | 水平 | 水平 | 水平 | 水平 | 水平 | 测试636f70793231313335323631343130323136353331333431373837 | 测试 | 测试 | 测试 | 测试 |
引入bootstrap的js做出来是这样的,