1. #1
    Sencha User
    Join Date
    Dec 2011
    Location
    Chennai,India
    Posts
    1
    Vote Rating
    0
    shaanfugo is on a distinguished road

      0  

    Lightbulb Unanswered: Using JSON Objects in Ext JS

    Unanswered: Using JSON Objects in Ext JS


    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

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,811
    Answers
    3467
    Vote Rating
    834
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    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 @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    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 services@sencha.com

    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.

Thread Participants: 1

Tags for this Thread