B4J Question [Solved] col tabletView

Duque

Active Member
Licensed User
Longtime User
How to get the index of column when clicking cell, with the following code I get the index of row and contents of the first column, I want to get the index of the column

B4X:
DBUtils.ExecuteTableView(vari.sql, "SELECT * FROM tbl where camp='auc' order by id asc LIMIT 30",Null, 0, hoja)

    For Each row() As Object In hoja.Items   
    row(0) =row(0)
    Next

End Sub


Sub hoja_SelectedRowChanged(Index As Int, Row() As Object)
    MainForm.Title= Index&"  "& Row(0)
   
End Sub
 
Top