Dim grid As BootstrapGrid
grid.Initialize
'the rc values should show the rcs
grid.ShowID = True
'add 1 row with two columns, column 1 spanning 10 spaces and column 2 spanning 2 spaces
grid.AddRows(1).AddColumns(1,10,10,10,10).AddColumns(1,2,2,2,2)
'add 2 rows, each row should have 2 columns, each column spanning 6 spaces
grid.AddRows(2).AddColumns(2,6,6,6,6)
'add 3 rows each row should have 3 columns, each column should span 4 spaces
grid.AddRows(3).AddColumns(3,4,4,4,4)
'show the bootstrap grid definition
LogError(grid.tostring)
'return boolean value of dic with id=R1 exists
LogError(grid.RowExists(1))
'return boolean value of div with id=R7C1 exists
LogError(grid.ColumnExists(7,1))
'log how many rows we have i.e. 1+2+3=6
LogError(grid.HowManyRows)