PDA

View Full Version : [Solved] Search form that updates an JSON datastore



pibrom
9 Jun 2011, 6:50 AM
Hello,

I used grid-filter example to build my own app.

I built a grid with a JsonStore, which uses a PHP file to do a request on a database

The grid works well, as well as grid filters, who update my PHP request and repopulate my JsonStore.

Now, I built a search form, that gives the same JSON datas than my first PHP request file.

My question is simple : when I retreive datas from my search form, how can I do to reload the JSON store with these new JSON datas ?

Don't hesitate to ask for more details if I'm not clear.

Thnaks for your help.

pibrom

pibrom
9 Jun 2011, 7:19 AM
I found the solution here :
http://www.sencha.com/forum/showthread.php?102341-Form-submission-results-displayed-into-a-grid&highlight=search+form
(http://www.sencha.com/forum/showthread.php?136447-Search-form-that-updates-an-JSON-datastore)