Android Question B4XTable How to add to library

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?
 

LucaMs

Expert
Licensed User
Longtime User
How do I add the B4XTable to library
b4xTable is a b4xlib library, you should handle it as a "classic" library, then adding it to your additional (or internal) libraries.
upload_2019-2-12_4-38-2.png


Copy B4XTable.b4xlib you find in the thread you mentioned, at the end of the first post.

Note that b4xTable requires:

upload_2019-2-12_4-40-39.png


Then you need also those libraries.


b4xlibs: https://www.b4x.com/android/forum/threads/new-feature-b4x-lib-a-new-type-of-library.100383/#content
 
Upvote 0

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?
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
I see Kalus has the flex grid.
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.

what method is best to use if data is already in array.
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.
 
Upvote 0
Top