Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

TableView row eventually freezing

After several updates, deletes and inserts on a tableview, one or two rows stop showing the updates (they freeze) and will only resume normal behavior after scrolling the specific row out of sight and back. I don't know why this happens, is it a bug?

update:
Let me make it clear that the updating is happening using this method:
tableView.data[0].rows[i].children[5].text = newdistance;

I sais it freezed because it stops reflecting the actual value that it was supposed to show and instead shows some other previous value, until scrolled out of sight and then back.

Eventually a row will only show its background without any text labels on it, the scrolling fixes this too.

— asked July 26th 2010 by Caio Iglesias
  • freezing
  • iphone
  • mobile
  • row
  • tableview
0 Comments

1 Answer

  • Do you add a className to the row ?

    — answered July 26th 2010 by Dan Tamas
    permalink
    1 Comment
    • Yes, and there is only one className in use. What I find weird is that scrolling the troubled row out of sight and the scrolling back to it fixes it until it happens again some other time with some other random row.

      — commented July 26th 2010 by Caio Iglesias
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.