B4A Library [Class] Flexible Table

Discussion in 'Additional libraries, classes and official updates' started by melamoud, Jun 30, 2013.

  1. klaus

    klaus Expert Licensed User

    No, not possible.
     
  2. Frank.G

    Frank.G Member Licensed User

    Just for Info
    I can confirm, also had to edit the Table.bas @ cSingeline=False to get it to work.
    All other things I tried (the posted solutions in this thread) did not work.

    Maybe I did something wrong in how I coded my app, anyways it works now .

    Frank
     
  3. klaus

    klaus Expert Licensed User

    Can you post your code or bette a small project showing the problem.

    Moving
    HerTabel.RowHeight=100dip
    HerTabel.SingleLine=False

    before
    HerTabel.SetColumnsWidths(Array As Int(100dip,400dip))
    works, I tested it.
     
  4. Frank.G

    Frank.G Member Licensed User

    See attached ZIP file.
    The app will not compile correct as it is missing the File Purin.db what I don't attach beacause of copyright.
    It is an SQL File containing two columns "Name" and "Purin" in a Table called "Lebensmittel"

    Also the ZIP contains the modified Table.bas.
    The concerning table is on the second page and contains the data that is selected/copied via Long_click from an B4XTable row.

    Hope you can see what my spagetti code tries to do here :eek:

    Thanks for the help
    Frank
     

    Attached Files:

  5. klaus

    klaus Expert Licensed User

    I had a look at your project.
    Yes. HerTabel.SingleLine = False has no effect.
    HerTabel.RowHeight = 100dip works.
    The work when loading a database into the table, that's how I tested it.
    When rows are added in the code HerTabel.SingleLine = False has no effect.
    Attached your project with the new Table version 3.01 class.
    I left my test changes in the code.
     

    Attached Files:

    Erel and Frank.G like this.
  6. klaus

    klaus Expert Licensed User

    The Table class has been updated to Version 3.01 in the first post.
    Amended SingleLine property setting in the code.
     
    Peter Simpson and Frank.G like this.
  7. agraham

    agraham Expert Licensed User

    I'm looking for a simple Table view and this looks good. However when I run the demo I get an index out of bounds error in Table line 820 when I press Change Table.

    I haven't looked at the code closely enough to see why.
     
  8. klaus

    klaus Expert Licensed User

    The Table class has been updated to Version 3.02 in the first post.
    Amended the error above.
     
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