B4A Library [B4X] B4XTable - Cross platform, sortable, searchable, customizable table - Erel    Feb 08, 2024   (58 reactions) Dim rs As ResultSet = B4XTable1.sql1.ExecQuery2(o(0), o(1))
Do While rs.NextRow
Log(rs.GetString(B4XTable1.GetColumn("State").SQLID))
Loop
rs.Close
V1.10 - Fixes a bug with cell clicks on empty tables.
V1.09 - The navigation buttons layout was fine tuned to be able to show three digits.
V1.08 - B4A Tutorial [B4X] B4XTable - Multiple rows selection - Erel    May 25, 2020   (9 reactions) Step #3: Whenever the data is updated, we need to go over the visible rows and update their visual state: Sub B4XTable1_DataUpdated For i = 0 To B4XTable1.VisibleRowIds.Size - 1 Dim RowId As Long = B4XTable1.VisibleRowIds.Get(i) SetRowColor(i, SelectedRows.Contains(RowId)) Next B4J Question Setting B4XTable lblSort.TextColor - Erel (first post)    Jul 22, 2024   (1 reaction) Moved to the questions forum.
B4XTable is internally loading a layout in its DesignerCreateView sub. This requires adding Sleep(0) inside B4XTable and this means that you also need to add Sleep(0) before you can access its views. This is a common issue / limitation of custom views that internally l B4A Question Where I can find the last version of B4XTable and how to install it - klaus (first post)    May 14, 2020   (1 reaction) B4XTable is a standard library now, it is shipped with B4A, B4i and B4J.
The current version is 1.21. B4A Question B4A editable table - DonManfred (first post)    Mar 13, 2019 B4XTable is a b4xlib. The most relevant dependency is probably: If you want to upgrade to the newest version please contact [email protected]. B4A Tutorial [B4X] B4XTable - Adding custom navigation buttons - Erel    Apr 08, 2019   (11 reactions) Depends on B4XTable v1.01+
https://www.b4x.com/basic4android/images/SS-2019-02-06_15.24.42.png
It is very simple to add your own navigation features.
Code:
Sub btnNext_Click
B4XTable1.CurrentPage = B4XTable1.CurrentPage + 1
End Sub
Sub btnPrev_Click
B4XTable1.CurrentPage = B4XTable1.Curre Wish B4XTable1 - Visible property - aeric (first post)    May 15, 2024   (1 reaction) Don't be lazy. :) B4A Question [B4XTable] Scroll up/down records - Mahares (first post)    Feb 16, 2022   (1 reaction) Welcome back @vecino. B4XTable is not vertically scrollable like an xCLV, but what you can do if it is ok is to have two buttons or swift buttons with arrows one UP and the other DOWN as text to show the direction and use this code:
B4XTable1.CurrentPage = B4XTable1.CurrentPage - 1
The other button B4J Question B4XTable - A Property Bag Use Case - A couple of questions - Mahares (first post)    Sep 30, 2023   (1 reaction) After you define the columns:
Sleep(0)
B4XTable1.lblFirst.Parent.Visible =False
For Each c As B4XTableColumn In B4XTable1.Columns
c.Sortable = False 'you can also remove the sort on individual columns
Next
Too many questions for one thread. I did not have time to look at all questio B4A Tutorial [B4X] B4XTable - Load data from SQL database - Erel    Feb 10, 2019   (34 reactions) We need to convert them to empty strings:
If row(2) = Null Then row(2) = ""
row(3) = rs.GetString("Address")
Data.Add(row)
Loop
rs.Close
B4XTable1.SetData(Data)
Step #1: add the columns.
Step #2: fill the Data list with the data coming from the SQL db.
Step #3: call B4 Page: 1   2   3   4   5   6   7   Powered by ColBERT |