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.
5 Answers
any new updates or info about this? is it ever going to be implemented?
You can use a custom row for this. Take a look here
http://cssgallery.info/custom-row-for-tableview-in-appcelerator-titanium/
Are there something native plans now?
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
Perfect JIRA-entry, thank you! Let's hope that the Appcelerator staff understand the priority of this feature.
Your Answer
Think you can help? Login to answer this question!