Corona SDK does not provide direct access to the rows that way. In your onRowRender function you will get access to that row.
If you are unfamiliar with the “Model-View-Controller (MVC)” pattern of programming, you should read about it. In a simplified explanation, the “Model” is the data your using. The “View” is how it’s displayed. The “Controller” is the bridge between the View and the Model. In our implementation, the tableView is the view. The data involved is how to display that data. Because of this you only need to know the current row to render it. If you need to make data based decisions, then you should do that based on the data and manipulate the data accordingly, then tell the tableView to render the current data.
In other words, don’t use the tableView as your data source. In many cases, you would just update your data then removeAllRows() and then reload the table from scratch.
Rob