Skip to content Skip to sidebar Skip to footer

ExtJs How Do I Scroll To The Bottom Of A Grid?

I am making a web-based logviewer using extjs. I would like new log-lines to be added to the bottom of my gridview as it saves cpu by not requiring a sort to move it to the top of

Solution 1:

Use GridView's focusRow method, e.g.:

myGrid.getView().focusRow(20);

If you don't already have the row index you'll have to retrieve it using one of GridView's related methods for finding a row.


Post a Comment for "ExtJs How Do I Scroll To The Bottom Of A Grid?"