Android Question B4XTable How to add to library

Discussion in 'Android Questions' started by Ronald Berardinis, Feb 12, 2019.

Tags:
  1. Ronald Berardinis

    Ronald Berardinis Member Licensed User

    I am reviewing the article
    [B4X] B4XTable - Cross platform, sortable, searchable, customizable table
    How do I add the B4XTable to library and where to find?
     
  2. LucaMs

    LucaMs Expert Licensed User

    Erel likes this.
  3. Ronald Berardinis

    Ronald Berardinis Member Licensed User

    Thank you.
    I am still struggling on this.
    I am not sure what method will be best for the application I have.
    I want to show simple rows and columns.
    The data is stored in an array.
    I see Kalus has the flex grid.
    then i see table examples.
    what method is best to use if data is already in array.
    also i cannot seem to install the ScrollView2D?
    i download and put into library folder.
    i right click on library tab, go to the library folder, click on ScrollView2D and nothing happens.
    what am i missing?
     
  4. klaus

    klaus Expert Licensed User

    I suppose you mean the Flexible Table.
    In this class, the data is memorized in a List with a String Array with the values for each row.
    You would need to add each row.

    I don't know about a table using an array for the data.
    Where does the data come from?
    In the Flexible Table there is a routine to directly read csv files to fill the List and the table.

    To use the ScrollView2D library you must copy the ScrollView2D.jar and ScrollView2D.xml files to your Additional Libraries folder.
    Then, in the IDE Libraries Manager Tab you should see it and check it.
    If the IDE is already open when you copy the files you need to right click in the tab and select refresh.
    You can add a ScrollView2D in the Designer, it is a CustomView.
    In the Flexible Table it is loaded within the class.
     
    Peter Simpson likes this.
  5. Ronald Berardinis

    Ronald Berardinis Member Licensed User

    Klaus, Thank you.
    I will study this and get back to you.
     
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