That was my initial idea and that is what I did in a prototype. I found the custom table cell to be handy until I decided to add automatic font scaling. When I add a label to a custom table cell, the adjustsFontForContentSizeCategory method does not work on the label.
I don’t think Opening events in custom cells ever get called.
Create a method (called Init in the example below) in the CustomCell with the code you need.
Then call that method after you create the cell:
Var cell As MobileTableCellData = Table1.CreateCustomCell(GetTypeInfo(MyTableCell))
Var container As MyTableCell = MyTableCell(cell.Control)
container.Init()
Just tested the opening event and it is not called. Could someone from Xojo maybe explain why this event is not called ? Is it a bug ? The documentation suggests that it should be called.