Sub setTableviewNewValue(tv As TableView, Row As Int, Col As Int, newvalue As String)
' Set the selected row first
tv.SelectedRow = Row
' Get the selected row as object
Dim rowcontent() As Object = tv.Items.get(Row)
' Set the new value in the cell
rowcontent(Col) = newvalue
' Trigger to make the updated data visible in the tableview
' This more a trial and error solution - may be other (better?) solutions available
tv.SetColumnVisible(Col, False)
tv.SetColumnVisible(Col, True)
End Sub