Ext.grid.RowNumberer
Files
This is a utility class that can be passed into a Ext.grid.ColumnModel as a column config that provides an automatic row numbering column.
Usage:
// This is a typical column config with the first column providing row numbers
var colModel = new Ext.grid.ColumnModel([
new Ext.grid.RowNumberer(),
{header: "Name", width: 80, sortable: true},
{header: "Code", width: 50, sortable: true},
{header: "Description", width: 200, sortable: true}
]);
Available since: 2.3.0
Defined By
Config options
Defined By
Properties
Defined By
Methods
renderer( v, p, record, rowIndex )★private
private ...
private
Available since: Ext JS 3.4.0
Parameters
- v : Object
- p : Object
- record : Object
- rowIndex : Object