View Full Version : Two dependent REST services to grid

24 Apr 2014, 3:15 PM
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.

25 Apr 2014, 9:09 AM
Why not do a join at the server and simply return the correct data?

25 Apr 2014, 10:15 AM
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