PDA

View Full Version : Grid Scrolling Based on Textfield Input?



emkramer
19 Dec 2013, 6:04 AM
I need a feature similar to autocomplete where, when I type text in a textfield, the grid automatically scrolls to that row in the grid. So as I type a word, with each new character, it scrolls to that entry in the grid. I would be happy to be able to just scroll to the first character of the word if not the whole word. I have over 300 pages in my grid and I don't want to have to scroll through a lot of pages to find the entry in the grid.

scottmartin
19 Dec 2013, 7:26 AM
There is this example:
http://docs.sencha.com/extjs/4.2.1/extjs-build/examples/grid/live-search-grid.html

emkramer
19 Dec 2013, 7:27 AM
Thanks Scott, that's exactly what I was looking for!

emkramer
27 Dec 2013, 10:54 AM
I got it to the point where it selects the correct row but if the row is not in view, it won't scroll to it. However, I can scroll down and see that it is selected (highlighted). How can I force it to scroll the row into view after it selects it? I am using 3.3.