PDA

View Full Version : Dynamically jump to perticular row in grid panel



chirag_bhalodiya
30 Jan 2013, 2:36 AM
I am using grid panel in my application.
I want to jump my scroll position to a particular row dynamically based on some event.

As a input i am getting column value and i want to jump my scroll position to a row which have that column value as content.

Are there any method or way by which we can do that ?

slemmon
30 Jan 2013, 10:46 AM
See if this method is what you're looking for:
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.view.Table-method-focusRow

chirag.bhalodiya
31 Jan 2013, 2:11 AM
BTW, this works but not as expected. It scrolls down/up to a particular row but doesn’t show up row as first row in the screen.

It scrolls down/up shortest distance from current position.

In our case we want to show that as first row. PFA

chirag.bhalodiya
1 Feb 2013, 1:01 AM
any updates ?

Michael H
1 Feb 2013, 4:21 AM
i dont think so that there are any types of update available here

chirag.bhalodiya
1 Feb 2013, 5:02 AM
I am actually blocked on this. will appreciate any quick help on this.