I've been searching through the forum for a clean example of a grid using the xCustomListView module but i just can't seem to find one.
I've seen the example where there is a single layout with multiple columns but that doesn't seem correct to me beacuse you have to have multiple layouts for 3, 4 and 5 columns and if a small change has to be made to a cell, you have to go through each cell and through each layout file and make the correction.
Basically what I'm looking for is to create a single layout that represent the cell and just add it to the cusotmlist without any other complications.
I also looked at the UlitameListView library but I'm not sure how stable it is and the approach didn't look very clean aswell.
The simplest way i've managed to approach this problem is to use another horizontal xCustomListView as my row and i put my items into it. But that also doesn't seam clean to me.
This thread will be used by Erel, Melamoud and myself to discuss / post new releases of the Table class. The table class is a flexible UI component that enable scrollable table like UI, with sortable columns, multiselect rows etc the table is very efficient, maintaining labels only for visible...
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"...
This thread will be used by Erel, Melamoud and myself to discuss / post new releases of the Table class. The table class is a flexible UI component that enable scrollable table like UI, with sortable columns, multiselect rows etc the table is very efficient, maintaining labels only for visible...
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"...
Also is there any way I can access the Java Source for the xCustomListView Library?
I would like to make modifications to it so that in the designer there is another row for ColumnCount and basically when you call CustomList.Add() it adds to the current column instead of creating a new row every time.
I want to do this so I can avoid creating a layout with multiple columns, because I'm using an architecture which makes it complicated for me to have another layout for my row as you explained.
Update: As several other libraries depend on xCustomListView library, it is no longer recommended to use the code module. Use the library instead. There are several extension classes that add more features to xCLV. They are listed at the end of this post. Video tutorial: xCustomListView is...
www.b4x.com
It is of course written in B4X. Like almost all other libraries.
I would like to make modifications to it so that in the designer there is another row for ColumnCount and basically when you call CustomList.Add() it adds to the current column instead of creating a new row every time.