Android Question CLVExpandable and Tables?

LucaMs

Expert
Licensed User
I wanted to have fun and... small test attached.

The tables of the 3 items are identical but it is clear how it is possible to create different "types" (number of rows, columns and content).

More generally, you can put any view into a CLV item.
 

Attachments

mw71

Active Member
Licensed User
Thank you very much!!

I have expand it to load 4 different CSV Files, Works fine.
Unfortunately the Table Click event catch only the Data from the last Table (Item #4, in my Case)

Maybe I'll find a way when I look in the table class.
 

LucaMs

Expert
Licensed User
Thank you very much!!

I have expand it to load 4 different CSV Files, Works fine.
Unfortunately the Table Click event catch only the Data from the last Table (Item #4, in my Case)

Maybe I'll find a way when I look in the table class.
B4X:
Sub Table1_CellClick(col As Int, row As Int)
    Dim tbl As Table = Sender
    Dim Value As String = tbl.GetValue(col, row)
    ToastMessageShow("Clicked: " & Value, True)
    Log("Clicked: " & Value)
End Sub
 

mw71

Active Member
Licensed User
Hi,

Now I have added a button. When I click on this I want to see how many lines in all (in my case 4) tables are selected (this is the first step).
I have no idear at the moment.

Later I want to read out the data of the selected cells, but that should not be a problem anymore.

The test file is attached.
 

Attachments

Top