I fill table with records, and date is in format "yyyy.MM.dd" for easier string sorting.
After I click to sort in at runtime, sorting in table is like this (order is not correct) :
Any idea what I'm doing wrong?
B4X:
Dim table As ABMTable
table.Initialize(page, "table", True, False, True, "tbltheme")
table.SetHeaders(Array As String("Date"))
table.SetColumnSortable(Array As Boolean(True))
for each ...
Dim row As List
row.Initialize
row.Add(DateTime.Date(v.SomeDate))
table.AddRow(ID, row)
Next
page.Cell(1, 1).AddComponent(table)
table.Refresh
After I click to sort in at runtime, sorting in table is like this (order is not correct) :
Any idea what I'm doing wrong?
Last edited: