B4A Library [B4X] B4XTable - Cross platform, sortable, searchable, customizable table - Erel    Feb 08, 2024   (58 reactions) Allows disabling the search highlighting feature.
V1.20 - Many changes under the hood. New RefreshNow method that refreshes the table synchronously. SetData returns a ResumableSub object and can be used with Wait For to (asynchronously) wait for the data to be ready.
New SearchVisible field and desi B4A Question B4XTable Exclude Column from Search - PaulMeuris (first post)    Oct 22, 2022   (2 reactions) In this code snippet you can see how to set a B4XTable column sort-able and/or searchable: If tablename = "category" Then Dim column As B4XTableColumn = B4XTbl1.GetColumn("") column.Searchable = False column.Sortable = False End If The if-statement is there in case y B4A Question sort B4XTable - Erel (first post)    Mar 03, 2019   (2 reactions) Yes:
B4XTable1.AddColumn("Name", B4XTable1.COLUMN_TYPE_TEXT).InternalSortMode = "DESC" 'or "ASC"
'or
Dim c As B4XTableColum = B4XTable.AddColumn(...)
c.InternalSortMode = "ASC"
Set the internal sort mode field before you set the data. B4A Question B4XTable sorting problem - hazaal (first post)    Aug 30, 2023 Sort(prjtable,prjtable.GetColumn("Nro")," DESC")
Sub Sort (Table As B4XTable, Column As B4XTableColumn, SortMode As String)
For Each c As B4XTableColumn In Table.Columns
If c = Column Then
c.InternalSortMode = SortMode
Else
c.InternalSortMode = ""
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 B4J Question [B4XTable] How To Sort Multiple Columns - Erel (first post)    Dec 13, 2021   (1 reaction) Your code doesn't do anything. The query results will not have any effect on the table.
Make all columns unsortable and:
Sub B4XTable1_HeaderClicked (ColumnId As String)
Dim col As B4XTableColumn = B4XTable1.GetColumn(ColumnId)
B4XTable1.CreateDataView($"1=1 ORDER BY ${col.SQLID}, c0"$)
En B4A Question Sorting a B4XTable on a column number - DALB    Mar 19, 2023 Hello,
I'm trying to sort a B4XTable by a column with numbers.
I have define this column which name is "amount' like this:
B4XTable1.COLUMN_TYPE_NUMBERS
I try to sort the table on this column descending like this:
Dim coln As B4XTableColumn = B4XTable1.GetColumn("amount")
coln.InternalSortMode= "D B4J Question How to emulate B4XTable column title click to sort its content ascending or descending using code? [Solved] - JGParamo (first post)    Mar 17, 2021   (1 reaction) Thanks on this Laurent, B4XTable has a Sort method similar with that for lists that I may have to explore. Cheers.. B4A Tutorial [B4X] B4XTable with custom cells layout - Erel    Feb 06, 2019   (17 reactions) https://www.b4x.com/basic4android/images/SS-2019-02-06_11.52.16.png
Requires B4XTable v1.01+: https://www.b4x.com/android/forum/threads/b4x-b4xtable-cross-platform-sortable-searchable-customizable-table.102322/#content
This example demonstrates the steps required to create cells with custom layout B4A Code Snippet B4XTable Tricks - William Lancee    Feb 19, 2020   (8 reactions) '3) Change color of sort direction icon which is not added to the panel until
' panel is clicked - this is a workaround and there might be better ways
'Go to internal libraries, unzip B4XTable, extract B4XTable.bas and B4XTable.bal (in Files)
'Copy B4XTable.bal to project Files and B4XTable.bas to Page: 1   2   3   4   5   6   7   Powered by ColBERT |