2 Dec 2011 8:42 AM #1
Unanswered: Using JSON Objects in Ext JS
I am involved in a project development using Java Script. The data will be available to me as JSON objects. I am looking at ExtJS , Smartclient as possible candidates. I should say I am leaning towards the Ext JS framework after working through few examples. I like the out of the box Web Desktop. I might be developing some thing like that. Can I have honest suggestion on whether it will be easier to use JSON objects as a data source for Ext JS?
Thanks in advance,
2 Dec 2011 9:02 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
You can use an Ext.data.Store class using any proxy (most likely the Ext.data.proxy.Ajax) and on that proxy you should use the Ext.data.reader.Json to be able to parse that JSON to be able to display it in the grid.Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.