Forum Archive

Table view in ui editor help

donnieh

If I drop a table view in the ui editor...

1) How do I edit the cell text programmatically?

2) detect which cell was touched in the action function I create?

Some brief examples would be great...

ccc

Check out ShowTableView example in the ui-tutorial. The tv1_action() method demonstrates how to detect which cell is tapped. To programmaticly change a value in a table, just modify the associated ListDataSource.