首页 > 其他 > 详细

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

时间:2016-03-10 01:30:26      阅读:584      评论:0      收藏:0      [点我收藏+]
思想:借助bootstrap-table 本身的index属性, 巧妙的的通过formatter 实现
{ field:
‘Number‘, title: ‘Number‘, formatter: function (value, row, index) { return index+1; } }

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

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

原文:http://www.cnblogs.com/cdemo/p/5260372.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!