View Full Version : DataView error

23 Dec 2010, 4:34 PM
Hi all,

I'm a newbie to Sencha Touch and I'm trying to display the results of an AJAX call to a PHP file which returns a product list (id, price) in JSON format and get to show that data.

I get no error, but nothing appears on the screen.

The AJAX call which returns JSON can be seen here http://www.grahamsimmons.co.uk/sencha/play/php/json.php?family=Watches

PHP outputs the JSON by using this line header('Content-type: application/json');

The URL I should see some results on using my iPhone is http://www.grahamsimmons.co.uk/sencha/play/watches.html

On the iPhone blank screen I can swipe my finger up and down and on the right I see what looks like a skinny scroll bar appears, so is something there, but just not styled properly?

Please help.

24 Dec 2010, 2:22 PM
You never tell the store to load. Use the load() method.

24 Dec 2010, 2:37 PM
Thank you very much evant for your reply.

It now works :o)

Now I will try to build on from here :o)