Results 1 to 3 of 3

Thread: get JSON data not mapped to store

  1. #1
    Ext User
    Join Date
    Apr 2007
    Posts
    38
    Vote Rating
    0
      0  

    Default get JSON data not mapped to store

    Just wanna ask is that
    1.) the grid would not load & save the JSON data which have not mapped(that is some columns would not display in the grid) to the store?
    2.) if this is the case, is it I need to load data to a Jasonstore first, and use that Jasonstore as the store of the grid....whenever I need the data which is not displayed, I'll need to get it from the Jasonstore i/o the grid's store

  2. #2
    Ext User
    Join Date
    Jul 2007
    Posts
    3,128
    Vote Rating
    3
      0  

    Default

    the grid needs a store regardless of how you do it so your questions are kinda confusing.
    in any case, every field thats mapped in the reader will be available to the grid (and anything else by accessing the store directly), and only those fields specified in the grid's column model will actually be displayed (though once again all fields are still available in the records for things such as custom renderers).

  3. #3
    Ext User
    Join Date
    Jan 2008
    Posts
    6
    Vote Rating
    0
      0  

    Default you must paste some code here...

    ?
    One world, One dream!
    Welcom to China, Welcom to Beijing!

    ---
    My name is Bob

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •