Hi, how can I find out which column the user has clicked on?
I can do this by going through all the columns and comparing the column title, but I guess there is something better.
Thank you.
Sub B4XTable1_CellClicked (ColumnId As String, RowId As Long)
Dim c As B4XTableColumn = B4XTable1.GetColumn(ColumnId)
Dim index As Int = B4XTable1.Columns.IndexOf(c)
Log(index) '0 or 1 or 2, etc
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.