Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Tableview Bug when retruning to View

$
0
0

Hi everyone,

I encounter a strange bug when using Tabelviews.

I have a Tabelview with data send from server as a JSON, i convert them into custom TableRows and display them. This works fine.

When clicking on a Row a new View open with detail information about that row. When retruning to the first view (via back button or navigationbutton) i cant reload the Data inside the TableView.

The strange part is, when not leaving the first page i can reload the Tableview with diffrent data (by sending ne request to the server) but not if i clicked on a Row.

What is even stranger is, that when i go back one page more (in my case the login page) and then load the View again with the TabelViews than every think works again.

I tried diffrent mehtods on writing data into the Tableview directly via TableView.data=data , Tableview.setData(data) and even delaying it with a setTimeOut and than adding it...

if I log the content of the TableView after reloading the Data i can see that the rowCount and everthing else seem to be okay... but it is just not displayed.

Any sugestions?


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>