new Ext.grid.RowNumberer({
header : 'No.',
width : 50,
css:'background-image:none;background-color:#EDEEF0;',
renderer: function (value, metadata, record, rowIndex) {
if (store_main.lastOptions.params != null) {
var pageindex = store_main.lastOptions.params.start;
return pageindex + rowIndex + 1;
} else {
return rowIndex + 1;
}
}
})