B4J Question [Solved] col tabletView


Active Member
Licensed 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

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)

End Sub

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