Public Sub BuildSideBarComponent(page As ABMPage, id As String, Title As String, Subtitle As String) As ABMContainer
Dim ItemCont As ABMContainer
ItemCont.Initialize(page, id, "")
'
ItemCont.AddRowsM(1,False,0,0, "").AddCellsOSMP(1,0,0,0,8,8,8,0,0,0,0,"").AddCellsOSMP(1,0,0,0,4,4,4,0,0,0,0,"cell_right")
ItemCont.BuildGrid 'IMPORTANT once you loaded the complete grid AND before you start adding components
Dim lbl1 As ABMLabel
lbl1.Initialize(page, id & "lbl1", Title, ABM.SIZE_H6, False, "")
lbl1.VerticalAlign = True
ItemCont.Cell(1,1).AddComponent(lbl1)
Dim lbl2 As ABMLabel
lbl2.Initialize(page, id & "lbl2", $"{C:#FF0000}${Subtitle}{/C}"$, ABM.SIZE_H6, False, "")
lbl2.VerticalAlign = True
ItemCont.Cell(1,2).AddComponent(lbl2)
Return ItemCont
End Sub