When the page is loaded the table loads the data and they appear correctly.
When I load the same data again the result is strange. The data is there but the pages do not appear. I'm sure the data is there because if I change the sorting of the data with a different column, the data at the bottom appears at the top.
What is the mistake?
Here's how I upload the data
I then changed the code like this, but the result is the same
When I load the same data again the result is strange. The data is there but the pages do not appear. I'm sure the data is there because if I change the sorting of the data with a different column, the data at the bottom appears at the top.
What is the mistake?
Here's how I upload the data
B4X:
VueTable1.Clear
If res<>"0" Then
lst.Initialize
For Each row As String In rows
Dim Fld() As String = pgIndex.Split(row)
lst.Add(CreateMap("id":Fld(0),"field1":Fld(1),"field2":Fld(2),"field3":Fld(3),"field4":Fld(4)))
Next
VueTable1.Reload(lst)
End If
I then changed the code like this, but the result is the same
B4X:
VueTable1.Clear
If res<>"0" Then
lst.Initialize
For Each row As String In rows
Dim Fld() As String = pgIndex.Split(row)
lst.Add(CreateMap("id":Fld(0),"field1":Fld(1),"field2":Fld(2),"field3":Fld(3),"field4":Fld(4)))
Next
VueTable1.UpdateItems(page,lst)
End If
VueTable1.RefreshRows
Last edited: