Titanium Community Questions & Answer Archive

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

layout warning when scrolling up

i'm getting the warnings below only when i scroll up. when the page loads i can scroll down to the bottom of the tableview just fine, but the second i start to scroll up (slow or fast) the warnings appear over and over.

[WARN] looks like we have a different table cell layout than expected. 
Make sure you set the 'className' property of the table row when you have different cell layouts
[WARN] if you don't fix this, your tableview will suffer performance issues and also will not render properly

I can provide more code if needed. thx!
code below is how i create my table rows with classNames inside a loop.

var projRow = 'tableRow'+i;
var count = i;
projRow = Titanium.UI.createTableViewRow({
  selectedBackgroundColor: '#1c1d1c',
  top: 0,
  width: 'auto',
  height: 'auto',
— asked April 21st 2010 by Kelly Redd
  • layout
  • scrolling
  • warnings

0 Answers

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.