Threaded View
-
21 May 2012 11:40 PM #1
Answered: RowNumberer issue wtih using paging
Answered: RowNumberer issue wtih using paging
Hello everyone,
RowNumberer always starts with 1 while using paging. I was using PagingRowNumberer extension for ExtJS 2.x & 3.x. I've looked the documentation but I haven't seen any property for this. I want to learn if I didn't become aware of a config for this or what I need to do.
Thanks in advance,
With regards."People will never forget how you made them feel."
linkedin.com/in/talhakabakus
-
Best Answer Posted by sword-it
Hi,
For Ext4.X, you may use {xtype: 'rownumberer'}
sample is:-
For ext 3.X, you may use Ext.grid.RowNumberer()....Code:FOR Ext 4.X columns: [ {xtype: 'rownumberer'}, {text: "Company", flex: 1, sortable: true, dataIndex: 'company'}, {text: "Price", width: 120, sortable: true} ]
Code:For Ext 3.X var colModel = new Ext.grid.ColumnModel([ new Ext.grid.RowNumberer(), {header: "Name", width: 80, sortable: true}, {header: "Code", width: 50, sortable: true} ]);


Reply With Quote