Titanium Community Questions & Answer Archive

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

Any planned support for iPhone Native Table Cell Styles?

Does anyone know if there is planned support for the standard table cell styles available in the iPhone SDK? i.e, UITableViewCellStyleSubtitle, UITableViewCellStyleValue1, and UITableViewCellStyleValue2 ?

Right now we only get UITableViewCellStyleDefault and cannot change it through the App's JS. It would be great to have the others, especially UITableViewCellStyleValue1 for forms, etc.

— asked July 22nd 2010 by Josh Dechant
  • iphone
  • mobile
  • table
  • table-cell
0 Comments

5 Answers

  • any new updates or info about this? is it ever going to be implemented?

    — answered January 23rd 2012 by Daniel Winther
    permalink
    0 Comments
  • You can use a custom row for this.
    Take a look here

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

    — answered July 22nd 2010 by Dan Tamas
    permalink
    1 Comment
    • I know you can make custom rows, and that's what I'm doing now, but it's quite a pain to replicate something that could be more efficiently implemented through the standard UITableViewCellStyles.

      Just wondered if anyone knew if supporting the standard cell styles (other than the default) was planned.

      — commented July 22nd 2010 by Josh Dechant
  • Are there something native plans now?

    — answered May 14th 2012 by Hans Knoechel
    permalink
    0 Comments
  • This is a thing I was expecting too, as the performance of native UITableViewCellStyles is far superior of the custom rows and the best choice for larger table views. As of now, this is still not implemented. I think this is due to the way Titanium deals with Rows, as it doesn't exposes the UITableViewCell to Ti high level API's thus not allowing the definition of a property mapped to UITableViewCell::initWithStyle.
    I think this is not very complex to implement as some stuff from UITableViewCell is actually mapped on the high level Ti API.

    I've opened a request on JIRA for this feature: https://jira.appcelerator.org/browse/TC-1142

    — answered August 7th 2012 by Ygor Lemos
    permalink
    0 Comments
  • Perfect JIRA-entry, thank you! Let's hope that the Appcelerator staff understand the priority of this feature.

    — answered August 7th 2012 by Hans Knoechel
    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.