Android Question B4XTable - show a row in multiple labels

LG Arts HD

Member
Licensed User
Longtime User
Hi everyone!

I have two questions...

1. I have a B4XTable with 3 columns and 3 EditText, when a cell is clicked I want the 3 EditText show the content from the row clicked, for example:

1633048955725.png


I want to do this to edit the row's content, I don't want to use ImputTemplate

2. with a button I want to update the data and export to a database stored in DirInternal
 

Mariano Ismael Castro

Active Member
Licensed User
B4X:
Sub B4XTable1_CellClicked (ColumnId As String, RowId As Long)
 Dim RowData As Map = B4XTable1.GetRow(RowId)
editText_ID.Text = RowData.Get("ID")
editText_Palabra.Text=RowData.Get("Palabra")
End Sub
 
Upvote 0
Top