EXTJS 4 form population with JSON read
up vote 0 down vote favorite | I am new to EXTJS and am using EXTJS-4.1 for now. I have a basic form, to which I need to populate data on page load. server url will return a JSON.
my form code is
I was able to populate the same JSON to a grid. Can you please help me through... I got a lot of examples over net and tried but still no luck. The above given is also a modified code snippet which I got while browsing. |
| Was this post useful to you? |
edited May 19 at 12:20 sha | May 18 at 15:42 user778739 |
3 Answers
up vote 0 down vote |
|
| feedback |
May 19 at 12:20 sha |
up vote 0 down vote |
|
| feedback |
May 21 at 10:45 Alex |
up vote -2 down vote | few things to try: 1) if u seek ur file on localhost don't put localhost on url only write url : '/milestone_1/web/app_dev.php/md/country/show/1' what ur php file do? could u post the code? 3) place the proxy configuration on model not on store. 4) have u try to test if store has read records on load? with a console.log? |
|
May 19 at 8:02 Hataru |