PDA

View Full Version : Get access to the Search filed dynamically



CliffM
12 Nov 2009, 8:37 AM
I am looking for a way to have a user click on an item in the grid and use that value to "Search" the entire grid. I am currently using the user extension SearchField.

I want to do 4 things when a user clicks a hyperlinked value in the grid:
* Update the text in the search box
* Change the hasSearch boolean
* modify the baseparams on the store
* reload the store

I am using the SearchField in the same way as the example: http://www.extjs.com/deploy/dev/exam...rm/custom.html (http://www.extjs.com/forum/../deploy/dev/examples/form/custom.html)

How can I do this?

Cliff

jsakalos
12 Nov 2009, 5:43 PM
Have you seen http://gridsearch.extjs.eu ? I think that the above would be very easy with that.