ExtJs How do I scroll to the bottom of a grid?

Posted by Poul on Stack Overflow See other posts from Stack Overflow or by Poul
Published on 2010-04-13T21:38:46Z Indexed on 2010/04/13 21:43 UTC
Read the original article Hit count: 835

Filed under:
|
|

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 the grid (plus its how my coworkers prefer it).

My problem is that ideally the grid would scroll to the bottom after a new row is added.

I have been looking through the documentation and I cannot figure out how to do this. I just see a method to scroll to the top.

Any ideas?

Thanks!

© Stack Overflow or respective owner

Related posts about extjs

Related posts about JavaScript