public Sub ConnectPage()
' connecting the navigation bar
ABMShared.ConnectNavigationBar(page)
Dim tb As ABMTable
tb.Initialize(page, "tbl", False, False, True, "ttt")
tb.SetHeaders(Array As String("Head1", "Head2", "Head3"))
Dim alt As Boolean = True
For i = 0 To 10
Dim row As List
Dim rowT As List
row.Initialize
rowT.Initialize
For j = 0 To 2
Dim st As String = Rnd(0,1000)
row.Add(st)
If alt Then rowT.Add("cc1") Else rowT.Add("cc2")
Next
tb.AddRow("", row)
tb.SetRowThemes(rowT)
alt = Not(alt)
Next
page.Cell(1, 1).AddComponent(tb)
' refresh the page
page.Refresh
' Tell the browser we finished loading
page.FinishedLoading
' restoring the navigation bar position
page.RestoreNavigationBarPosition
End Sub