i have notice if i have a table with orizontal scrolling and i execute a update and reload the data
the columns of header are not aligned with colums data. (see screen-shot)
Sub ButtonLive_Click
Log("ButtonLive_Click")
' Test1
Table1.SetColumnsWidths(Array As Int(200, 250, 300, 350))
Table1.ClearAll
' Test2
Table1.SetColumnsWidths(Array As Int(200, 250, 300, 350))
For i = 0 To 100
Table1.AddRow(Array As String("Row: " & i, "ccc", "ddd", "eee"))
Next
' Test3
Table1.SetColumnsWidths(Array As Int(200, 250, 300, 350))
End Sub
Private Sub innerClearAll(vNumberOfColumns As Int)
SV.Panel.RemoveAllViews
NumberOfColumns = vNumberOfColumns
SV.ContentHeight = 0
SelectedRow = -1
minVisibleRow = -1
maxVisibleRow = 0
Data.Initialize
LabelsCache.Initialize
visibleRows.Initialize
SV.ScrollOffsetY = 0
For i = 1 To 80 'fill the cache to avoid delay on the first touch
LabelsCache.Add(CreateNewLabels)
Next
If cVisible Then
SV.ScrollOffsetX = 0
SV.ScrollOffsetY = 0
End If
End Sub
It seems like you will need to further test Klaus modifications and see how to fix those issues. I previously missed the fact that you are using a modified version of this class.