Update a table

I am playing around with the coffeeDemo sample.
On the detailscreen I have managed to place a button to call the camera and display an image on the detailscreen. (Image1)

I now am trying to update the tableview with the selected image.

I have the index that was clicked : self.id ie if row 1 was clicked self.id = 1

The tableview was populated with :

data[1] = {}
data[1].title = “Hot Coffee”
data[1].subtitle = “Grounds brewed in hot water”
data[1].image = “coffee1.png”

So how would I say

data[self.id].image = ‘image from camera’ (this is stored in image1).

then refresh the tableview

Cheers

SteveW

[import]uid: 4585 topic_id: 11661 reply_id: 311661[/import]