I want to populate a table manually with text and graphic. For this I use iOSTable with a iOSCustomTableCell. I have only a few values so
I do not use a datasource.
I try to understand the usage of iOSTable and iOSCustomTableCell in a small test app.
I use the following code :
Table1.RemoveAll Table1.AddSection("") Dim cell As iOSTableCellData = Table1.CreateCustomCell(GetTypeInfo(iOSCustomTableCell1)) Dim customcell As iOSCustomTableCell1 = iOSCustomTableCell1(cell.Control) customcell.Label1.Text = "Test" Table1.AddRow(0, cell) customcell.Label1.Text = "Test 2" Table1.AddRow(0, cell)
I expected to see 2 rows. In the first row "Test" and in the second Row "Test 2".
I got one row with "Test 2".
I have checked the examples but here the table is populated with a datasource.
The documentation refers partly to the example.
Did I miss something or missunderstood?