I followed this tutorial: http://three20.pypt.lt/custom-cells-in-tttableviewcontroller#hellotableitemcellm
and have successfully implemented my custom table with custom cells.
I want to make the cells clickable. On table cell click another view should be opened. When using the default three20 text item I can specify an url and the cell is clickable by default. How can I do this in my custom cell according to the specified tutorial? Any ideas?
There are a couple of options:
Use TTNavigator for your project. If you go this route, since your custom table cell's item extends from TTTableLinkedItem, Three20 will automatically set the disclosure indicator and selection style for you when you set the URL property of the item (that gets converted to the cell). The gotcha here is that you have to make sure that you've added a mapping in TTNavigator's URL map (check out the setObject method in TTTableLinkedItemCell).
Roll your own solution. Very simple; just set the disclosure indicator and selection style for the cell like so:
amazing information for life insurance quotes at http://www.termlifeinsuranceco.com - term life insurance
unique information on cheap carinsurance
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In Apply for Membership