Hi,
I am trying to use this CellClick code
But i got the wrong id as it shows in the log when i click a single cell on the table. Attached is a sample image where I click on cell with the ID of 135. I have almost read the entire flexible table thread but i cannot see a solution (or may be i missed it). I hope you can help me with it. Thank you.
I am trying to use this CellClick code
B4X:
Sub tblImirDestialsList_CellClick(row As Int, col As Int)
SelectedRow = row
SelectedID = tblImirDestialsList.GetValue(0,SelectedRow)
Log(row)
Log(SelectedID)
End Sub
But i got the wrong id as it shows in the log when i click a single cell on the table. Attached is a sample image where I click on cell with the ID of 135. I have almost read the entire flexible table thread but i cannot see a solution (or may be i missed it). I hope you can help me with it. Thank you.
B4X:
** Activity (main) Pause, UserClosed = false **
** Service (starter) Create **
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (alogin) Create, isFirst = true **
** Activity (alogin) Resume **
** Service (httputils2service) Create **
** Service (httputils2service) Start **
Class not found: b4j.example.main$_dbresult, trying: b4a.example.main$_dbresult
OK
** Activity (alogin) Pause, UserClosed = false **
** Activity (aimircontrol) Create, isFirst = true **
** Activity (aimircontrol) Resume **
1
136