L LG Arts HD Member Licensed User Longtime User Oct 1, 2021 #1 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: 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
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: 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 Oct 1, 2021 #2 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
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
Erel B4X founder Staff member Licensed User Longtime User Oct 1, 2021 #3 Start with this example: https://www.b4x.com/android/forum/threads/b4x-cross-platform-editable-b4xtable-form-example.104766/ Upvote 0
Start with this example: https://www.b4x.com/android/forum/threads/b4x-cross-platform-editable-b4xtable-form-example.104766/