Daniel44 Active Member Licensed User Aug 21, 2019 #1 Hi Everyone! I've been seeing the example of B4Atable editable : https://www.b4x.com/android/forum/threads/b4x-b4xtable-editable-table-and-export-to-csv.102847/ and it works perfect, but that edits any field that the user wants and I would like to know if it is possible to edit in the B4Xtable only a specific field in B4XTable and what would be the method for that edition. I'm adapting it to a sqlite app with B4A 9.30. Thank you very much
Hi Everyone! I've been seeing the example of B4Atable editable : https://www.b4x.com/android/forum/threads/b4x-b4xtable-editable-table-and-export-to-csv.102847/ and it works perfect, but that edits any field that the user wants and I would like to know if it is possible to edit in the B4Xtable only a specific field in B4XTable and what would be the method for that edition. I'm adapting it to a sqlite app with B4A 9.30. Thank you very much
mangojack Expert Licensed User Longtime User Aug 21, 2019 #2 If I understand correctly .. you wish to allow user to edit specific field / column ? Using the above example ... maybe something like this. Code: Sub B4XTable1_CellClicked (ColumnId As String, RowId As Long) If ColumnId = "Name" Or ColumnId = "State" Then '... Allow Edit Dim column As B4XTableColumn = B4XTable1.GetColumn(ColumnId) 'more code ... Upvote 0
If I understand correctly .. you wish to allow user to edit specific field / column ? Using the above example ... maybe something like this. Code: Sub B4XTable1_CellClicked (ColumnId As String, RowId As Long) If ColumnId = "Name" Or ColumnId = "State" Then '... Allow Edit Dim column As B4XTableColumn = B4XTable1.GetColumn(ColumnId) 'more code ...
Daniel44 Active Member Licensed User Aug 21, 2019 #3 Yes you're right just a column. Thank you for answering. I' ve been searching for this but I couldn't find anything about this. Upvote 0
Yes you're right just a column. Thank you for answering. I' ve been searching for this but I couldn't find anything about this.