Titanium Community Questions & Answer Archive

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

Simple List Question...

Sorry in advance for the Noob question…
I would like to create a list where each row contains a Title and a small description directly below that title. See the example mockup pic attached:

With the list speed issues with iOS4, can someone please advise as to the most efficient way of coding this?

alt text

— asked October 11th 2010 by John Lullie
  • lists
  • rows
0 Comments

2 Answers

  • Accepted Answer

    Here's a tutorial that may help

    http://cssgallery.info/custom-row-for-tableview-in-appcelerator-titanium/

    — answered October 11th 2010 by Duncan Kabinu
    permalink
    0 Comments
  • One way would be to write a createRow() function that constructs a tableViewRow and then adds two labels to the row (do not set a title for the row).

    Giving all these rows the same classname will help Titanium optimise the use of rows and speed things up quite a bit.

    Cheers,
    Angus

    — answered October 11th 2010 by Angus Peart
    permalink
    0 Comments
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.