### Get selected Row Cell Values

To get the cell values of a selected tableview row, use Row Object and method SelectedRow change.
Example Subroutine
' Show the selected cell values for the selected tableview row
' TableviewId; tableviewStandard
' The used tableview has two columns
`Sub tableviewStandard_SelectedRowChanged(Index As Int, Row() As Object)
If Index < 0 Then Return
If tableviewStandard.Items.Size = 0 Then Return
Log("Row: " & (Index + 1) & " (Index: " & Index & ") out of " & tableviewStandard.Items.Size & " rows" & CRLF & _
"Column 1 (Cell 0) = " & Row(0) & ", Column 2 (Cell 1) = " & Row(1))
End Sub`
Another option
To get the data from the Row Object direct:
' No row selected, then return
If tableviewStandard.SelectedRow < 0 Then Return
' Get the cell values from the selected row and assignto the Row Object
Dim Row() As Object = tableviewStandard.SelectedRowValues
Log("Selected Row: " & tableviewStandard.SelectedRow)
Log("Number of Cells: " & Row.Length)
' Show the cell values
For i = 0 To Row.Length - 1
Log("Cell " & i & " = " & Row(i))
Next

Changed: , Category: TableView, File: T6C259M1887.htm, ID: 1887