PDA

View Full Version : Using JSON Objects in Ext JS



shaanfugo
2 Dec 2011, 8:42 AM
Hi All,
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,
shaanfugo

mitchellsimoens
2 Dec 2011, 9:02 AM
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.