性能疯子 Blog

倚天照海花无数,流水山高心自知

bootstrap table 行号 显示行号 添加行号 bootstrap-table 行号

思想:借助bootstrap-table 本身的index属性, 巧妙的的通过formatter 实现
{ field:
'Number', title: 'Number', formatter: function (value, row, index) { return index+1; } }

 by 情郎 2016年3月10日00:22:58

posted @ 2016-03-10 00:44  性能疯子  阅读(12082)  评论(2编辑  收藏  举报
QQ联系我