Android Question CLVExpandable and Tables?

Discussion in 'Android Questions' started by mw71, May 26, 2019.

  1. mw71

    mw71 Active Member Licensed User

  2. LucaMs

    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.
     

    Attached Files:

  3. mw71

    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.
     
  4. LucaMs

    LucaMs Expert Licensed User

    Code:
    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 likes this.
  5. mw71

    mw71 Active Member Licensed User

    :)
    many thanks, work as expected
     
    LucaMs likes this.
  6. mw71

    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.
     

    Attached Files:

Loading...
  1. 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.
    Dismiss Notice