rwblinn Well-Known Member Licensed User Longtime User Dec 6, 2013 #1 Hi, how to get the cell values for a row when tableview selection changed? Tried below code but it gives some cryptic value? (TableView reading column 2 for Index:1 Cell value: AnchorPane@139c79f) Code: Sub tv_SelectedRowChanged(Index As Int, Row() As Object) Log("TableView reading column 2 for Index:" & Index & CRLF & " Cell value: " & Row(1)) End Sub
Hi, how to get the cell values for a row when tableview selection changed? Tried below code but it gives some cryptic value? (TableView reading column 2 for Index:1 Cell value: AnchorPane@139c79f) Code: Sub tv_SelectedRowChanged(Index As Int, Row() As Object) Log("TableView reading column 2 for Index:" & Index & CRLF & " Cell value: " & Row(1)) End Sub
Erel B4X founder Staff member Licensed User Longtime User Dec 8, 2013 #2 You have added an AnchorPane as the object. Code: Dim ap As AnchorPane = Row(1) Dim lbl As Label = ap.GetNode(0) Log(lbl.Text) Upvote 0
You have added an AnchorPane as the object. Code: Dim ap As AnchorPane = Row(1) Dim lbl As Label = ap.GetNode(0) Log(lbl.Text)