Hi,
I have a question about using tableview click. It isn't so obvious how to use it(there are no comments in the class). Can someone explain me how to handle it?
Alex
Are you speeking of Erels' Table Class ?
If yes you have the Table1_CellClick and Table2_CellClick events returning the column and row indexes so know where in the table you are. And with Table1.GetValue(col, rowl) you get the content of a cell.
As far as I understood class searches xxx_cellclick event or I am mistaken?
B4X:
Private Sub Cell_Click
Dim rc As RowCol
Dim l As Label
l = Sender
rc = l.Tag
SelectRow(rc.Row)
If SubExists(Callback, Event & "_CellClick") Then
CallSub3(Callback, Event & "_CellClick", rc.Col, rc.Row)
End If
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.