Package: | Ext.grid |
Defined In: | RowNumberer.js |
Class: | RowNumberer |
Extends: | Object |
// 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}
]);
Config Options | Defined By | |
---|---|---|
header : String Any valid text or HTML fragment to display in the header cell for the row
number column (defaults to ''). | RowNumberer | |
width : Number The default width in pixels of the row number column (defaults to 23). | RowNumberer |