1 Mar 2012 11:30 AM #1
"Load Data" works but the ResultSet does not bind to dataview controls???
I've followed all the proper steps to bind data to a Dataview and a List. I can see that records have been loaded into the store and I can see data in the Design view of the List.
Although when I Deploy my code to the web server, I only see an empty list with no data bound to the control. I have height/width dimensions on the List/Dataview and it scrolls but no data...???
Does anybody know what's going on here ?
1 Mar 2012 1:07 PM #2
Did you load the store in source code or choose autoLoad in the Store configuration?Aaron Conran
1 Mar 2012 1:36 PM #3
autoload is set to true
3 Mar 2012 12:41 AM #4
Is the proxy url correct? Do you see a request in the network tab? Any errors on the console?Bharat Nagwani
Sencha Designer Development Team
5 Mar 2012 7:39 AM #5
@Bharat the proxy URL is correct and the JSON does validate: http://mobilenew.brookshirebrothers.com/datastore.aspx
I'm not sure how to view the network tab can you please clarify?
No errors that I'm aware of.
5 Mar 2012 7:47 AM #6
Make sure there is no error in the log along the lines of
XMLHttpRequest cannot load <url> Origin <other url> is not allowed by Access-Control-Allow-Origin.
5 Mar 2012 8:04 AM #7
@paul_todd how do you disclose this log you speak of ? (mind you I'm new to Sencha Touch about 4 weeks in and even newer to the Designer (like 2 weeks))
5 Mar 2012 8:28 AM #8
I assumed you were testing in Chrome and Safari in which case you need to look in the menus for the developer tools and then look in the documentation on how to enable the event log.
5 Mar 2012 2:39 PM #9
My Network tab and Console tab are error free when I view the List in Chrome.
6 Mar 2012 9:17 AM #10
Well after persistent effort and recreation of the Store the data now binds. Can't tell you anything I did different but it now works.
Thanks for the help guys