Page 1 of 1
Grid not showing JSON data
Posted: Fri Aug 19, 2011 9:33 am
by fame.razak
I've added a JSON service to my project. When I test the connection, the response is good and I see data. But now I've bound the data to the controls and test the application, no data is shown in my output grid.
What am I doing wrong?
My project is here: http://gotiggr.com/project/16634/
Grid not showing JSON data
Posted: Fri Aug 19, 2011 12:18 pm
by Polina Antipova
Hi Fame,
you should try the following:
- uncheck "Array" property for HotelListResponse
- uncheck "Array" property for HotelList
for datasource in Response parameters mapping dialog:
- outputGrid is mapped to HotelSummary, not to HotelList
Grid not showing JSON data
Posted: Fri Aug 19, 2011 12:20 pm
by Polina Antipova
If you are using json, your project will work only in Chrome with switched off web security.
Grid not showing JSON data
Posted: Fri Aug 19, 2011 1:24 pm
by fame.razak
Thanks Polina for your response, that fixed it. switched to jsonp and it works.