Sencha Premium Member
Unanswered: Using LiveGridView with RowNumberer
In the project I'm working on, we previously used the BufferView and RowNumberer with our Grid. Now we are trying to use the LiveGridView but the RowNumberer only displays values 1-15 regardless of scrolling or changing to a new page (there are 15 rows displayed in the view).
It used to be that a custom CellRenderer was used to display the correct row number, but now it appears RowNumberer is using a AbstractCell and numbering based on the Context.
So is the Context not updating properly or can the RowNumberer not be used with the LiveGridView?
The context either has the index relative to the current scrolled section or the locally cached items - probably the former. If so, add it to the current offset, according to the livegridview. If it is relative to the cached items, add it to the offset of the last load operation.
Tags for this Thread