{
xtype : 'rownumberer',
width : 40,
renderer : function(value, metadata, record, rowIndex) {
var indexs=rowIndex+1;
var page=record.store.lastOptions.page; //获得第几页
var limit=record.store.lastOptions.limit; //一页显示多少行
if(page>1){
indexs=(page-1)*limit+rowIndex+1;
}
return indexs;
}
}