Wish B4XTableColumn InternalSortMode - Alain75 (first post)    Oct 25, 2023 Well, even if my modifications are very light, I am very interested in the way to sort case insensitive when clicking on the header of a column with standard class B4XTable without the use... B4A Tutorial [B4X] Public variables, custom types, ... - LucaMs    Dec 19, 2023   (4 reactions) What I'm about to write would be more suitable for Erel's thread: "Code Smells" - common mistakes and other tips, but it's just my opinion and I don't know if he agrees.
I'll give you an example right away:
148824
clmn is a B4XTableColumn; what its InternalSortMode... B4A Question B4XTable sorting problem - Mahares (first post)    Aug 30, 2023
but for some reason it doesn't work
Can you show the code for InternalSortMode and where you put it. Also, you can apply internalSortMode only to one column. Unless you prefer to post your... B4A Question Sorting Mysql data the second time - TILogistic (first post)    Oct 23, 2021 sort: B4XTable .InternalSortMode B4XTable1.AddColumn("Name", B4XTable1.COLUMN_TYPE_TEXT).InternalSortMode = "DESC" 'or "ASC" 'or Dim c As B4XTableColum = B4XTable.AddColumn(...) c.InternalSortMode = "ASC" Map https://www.b4x.com/android/forum/threads/b4x-b4xcollections-more-collections.101071/ Array (QuickSort) https://www.b4x.com/android/forum/threads/sorting-algorithms-teaching-with-basic4android.8548/#content... B4J Question How to emulate B4XTable column title click to sort its content ascending or descending using code? [Solved] - JGParamo (first post)    Mar 18, 2021   (1 reaction)
'SortMode - ASC or DESC
Sub Sort (Table As B4XTable, Column As B4XTableColumn, SortMode As String)
For Each c As B4XTableColumn In Table.Columns
If c = Column Then
If c.InternalSortMode = SortMode
Else
c.InternalSortMode = "....InternalSortMode = SortMode" .. Thank you Erel!... B4A Question Where can I find help on searching? - Mikelgiles (first post)    Oct 16, 2019 I use Google search:
site:b4x.com -"Search Results" InternalSortMode
I will try Google. Thanks!
A simple search for InternalSortMode gives the best results available in the forum:
https... B4J Question Can you get the sort column in a Tableview? - Erel (first post)    May 3, 2020
For Each c As B4XTableColumn In B4XTable1.Columns
If c.InternalSortMode <> "" Then
Log($"Column: ${c.Id}, sort = ${c.InternalSortMode}"$)
End If
Next
... B4A Question [Solved]How to sort B4XTable based on a column - mangojack (first post)    Oct 2, 2019   (4 reactions) = B4XTable1.GetColumn("Name")
If column.InternalSortMode = "ASC" Then
column.InternalSortMode= "DESC"
Else
column.InternalSortMode= "ASC"... B4A Question sort B4XTable - Erel (first post)    Mar 3, 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 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= "DESC" B4XTable1.Refresh But the ordering result is like if the numbers were strings !!! How to solve this ? Thanks to the helpers who come here.... Page: 1   2   3   4   5   6   7   |