PDA

View Full Version : Getting data loaded in a List Panel



wlwise
22 Aug 2011, 1:07 PM
Hi guys - I've created a little app to:
1. pull data from mySQL via query.php - this data displays fine if I run just query.php (using json_encode for my results)
2. I then try to display those results via a list panel in JS

I have tried including my datastore.js file in my main js file among many other things, but I just can't seem to get it working. I can't get the data to display at all.

This is my query.php
27626

This is my datastore.js
27622

and this is my main javascript file that I'm trying to use to display my data:
27627

and I'm calling it all from an html file
27628

HELP!

slmd
24 Aug 2011, 5:10 AM
Hey!

This may help : http://www.sencha.com/forum/showthread.php?143630-Simply-Load-Json-in-a-List

(http://www.sencha.com/forum/showthread.php?143630-Simply-Load-Json-in-a-List)