Results 1 to 2 of 2

Thread: Store does not contain all record results returned from SQL query

  1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    9

    Default Store does not contain all record results returned from SQL query

    Current setup
    Architect verion:2.2.3
    Build: 1044
    ExtJS version: 4.2.2

    I am experiencing an issue where one of the stores in my app does not contain all the results from my SQL query. The basic scenario is as follows. My store called PrFormStore calls a php script to run the SQL and then returns the JSON resultset. When I run my test case I am getting 6 records, but when I look at the store contents after the app loads the count in the store is only 3. Looking at the php script it is kicking out all 6 records correctly. I just don't understand why some of the records are being dropped. Any suggestions would be greatly appreciated.

  2. #2
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,253
    Answers
    759

    Default

    It's not really possible to say, you'll need to post more information:

    a) The model definition
    b) The store definition
    c) The response the server returns
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

Posting Permissions

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