Hi, I must be missing something but cannot figure out how to get the data held in a specific cell of a table contained in a webview
I can get the co-ordinates the selected column and selected row but how do I use these to get the data selected when clicked on to use elsewhere in the program,
i.e if the data held in row 1 column 0 is a code that when the user clicks on that cell I can use the code elsewhere, hope that makes sense, help
B4X:
Private Sub wbvTable_LocationChanged (Location As String)
If Location.Contains("stub") Then
Private values() As String
values = Regex.Split("[.]", Location.SubString(7))
SelectedCol = values(0)
SelectedRow = values(1)
End If
End Sub
I can get the co-ordinates the selected column and selected row but how do I use these to get the data selected when clicked on to use elsewhere in the program,
i.e if the data held in row 1 column 0 is a code that when the user clicks on that cell I can use the code elsewhere, hope that makes sense, help