View Full Version : Best way to load data into form

6 Jun 2008, 5:04 AM
Hi. I have 3 buttons and a form, and want to load data from the server (php) to the form according to which button was pressed. (Ok, it's more complicate but thats what it comes to ;) ).

What is the best way to do that? I mean concerning the loading of the data (not the GUI-stuff like the click-event). I saw I could use a JsonReader and a DataStore, but I think a DataStore is for x records and I only need one. So what would be the quickest way to get this done?

6 Jun 2008, 5:25 AM
A, I just found: http://dev.extjs.com/deploy/dev/docs/?class=Ext.form.Action.Load so I guess thats the way you should do it :">