Results 1 to 3 of 3

Thread: Two dependent REST services to grid

  1. #1
    Sencha User
    Join Date
    Apr 2014
    Posts
    2
    Vote Rating
    0
      0  

    Default Two dependent REST services to grid

    Extjs app for baseball stats. This is what I want to do. Any help would be appreciated.

    *** Grab a list of player IDs from one REST service
    *** With the list of IDs returned from above, hit up another REST service to return stats assoc with each ID. Based on this result set, then populate and show grid

    Right now the grid shows up without any data. How can I show the grid only when the second store is populated? Sorry I cannot post code here. Any snippets or pseudo code would be appreciated.

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,409
    Answers
    716
    Vote Rating
    504
      0  

    Default

    Why not do a join at the server and simply return the correct data?

  3. #3
    Sencha User
    Join Date
    Apr 2014
    Posts
    2
    Vote Rating
    0
      0  

    Default

    Hi Scott,
    That would certainly be ideal, but I don't control the services --- I have no way of doing that or even suggesting that be done

Posting Permissions

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