22 Jan 2012 10:15 PM #1
Unanswered: Auto scroll grid with selections
I have a grid with scroll bars. There are some records in the grid.
I am selecting a row using getSelectionModel.select() method. The specified row gets selected but if that row is at the bottom of the grid, or if it is below the viewable grid area, the scroll bar remians unmoved. So the selected row is not visible to the user. I want the selected row to be viewable to the user.
23 Jan 2012 12:12 PM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
You can use setScrollTop on Ext.grid.Scroller (4.0.7) or Ext.panel.Tabel (4.1.0) or do it via JS/CSSMitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.