columns:
[{
//field: 'Number',//可不加
title: 'Number',//标题 可不加
formatter: function (value, row, index) {
return index+1;
}
},{
checkbox: true
}]
参数
value:field对应的数据
row:数据对象
index: 0-1-2...
效果: