bootstrapTable-显示序号

[javascript] view plain copy
  1. columns:  
  2.                     [{  
  3.                         //field: 'Number',//可不加  
  4.                         title: 'Number',//标题  可不加  
  5.                         formatter: function (value, row, index) {  
  6.                             return index+1;  
  7.                         }  
  8.                     },{  
  9.                         checkbox: true  
  10.                     }]  





阅读更多

没有更多推荐了,返回首页