I have created a TableView that populates from a local JSON file and when you click a table it takes you through to a label that displays other information from the JSON file - This much works - however there is a problem with the filter on the table, if you filter results and then click a tab, the label gets populated with the data from the previously viewed label and not the one corresponding to the table that was clicked. It seems to correct itself after a few goes, but I haven't been able to track down the problem.
The second question I have on the same app is this; I have the exact same JSON feed hosted on my webserver, is there a straight forward way to substitute the local file for a remote feed? I think this may involve parsing and XHR requests, but I haven't been able to figure it out.
Use Case/Project files:
app.js: http://pastie.org/1798311
find.js: http://pastie.org/1798314
data.json: http://pastie.org/1798318
Any Help greatly appreciated - Cheers.
Your Answer
Think you can help? Login to answer this question!