Hi !
When you try to delete a column, it moves to the end of the table.
My cod (I attach an example for the test):
Result:
Please help - I have no more ideas !
When you try to delete a column, it moves to the end of the table.
My cod (I attach an example for the test):
B4X:
'--- MY PROBLEM -> RUN-TIME REMOVE COLUMN
Private Sub Button1_Click
Private RemoveColumn As B4XTableColumn = B4XTable1.GetColumn("Interesting Number")
Private IndexColumn As Int = B4XTable1.VisibleColumns.IndexOf(RemoveColumn)
If IndexColumn <> -1 Then
Log("REMOVE COLUMN: " & IndexColumn)
B4XTable1.VisibleColumns.RemoveAt(IndexColumn)
B4XTable1.Refresh
End If
End Sub
Result:
Please help - I have no more ideas !