I am using the B4XTable view to show my tables. However, I would like to scroll vertical and horizontal.
There is a link to such a table published in 2012: Table. Is that the latest version?
I see it uses the Table view. Can I also use the B4Xtable view with it?
Hey Peekay, how are things in Wittbank.
No, the two are totally different. The B4XTable has been implemented only for the last few years, and you can scroll only horizontally as it is page based. You go from page to page. With B4XTable you will not be able to scroll vertically like with the Flexible Table.. With Flexible Table you can also scroll horizontally.
Flexible Table is a B4A CustomView and it is an evolution of the Table class and uses the ScrollView2D library for horizontal and vertical scrolling.
It works only with B4A.
B4XTable is a cross-platform CustomView b4xlib and, as already explained, it can scroll only horizontally.
You cannot combine both.
If you are talking about B4XTABLE it is an internal library. You check it in the library manager pane. Then in the Designer, you select addview, then Customview, then B4Xtable. That is how you will have access to its design.
Here is a link to it:
B4XTable is a paged based table. The UI is made of a horizontal xCLV. The data is stored in an in-memory SQLite database. How to use? 1. Add a B4XTable with the designer. 2. Add the columns: B4XTable1.AddColumn("US County", B4XTable1.COLUMN_TYPE_NUMBERS) B4XTable1.AddColumn("Name"...
www.b4x.com
If you are talking about Flexible Table, then it looks like klaus is helping now with it.
To use the Flexible Table CustomView class you need to copy the Table.bas file from the first post in the Flexible Table thread to your project.
You find the list of needed libraries on top of the the first post in the Flexible Table thread.
The thread includes also a demo program, Table3_24.zip.
Thanks klaus,
I found the table view and I have imported the Table module into my code.
Can you just help me setting the column alignments, as the example is done in B4J, and I cannot figure that out
Sorry, I don't understand.
What example is done in B4J?
The Flexible Table, as already mentioned, works only with B4A !
The Flexible Table demo program is written in B4A.