Difference between an IosTable loaded from a DB or manually for action(s) ??

I have an IosMobileTable

I’m loading its content through a method which get data from a sqlite DB :

I would like now to have action for each line, so I’m adding 2 event handlers to the table but nothing happens.


I re-simplified my code to the lightest and even copy / pasted code from the Xojo example. Is there something I’m missing maybe with the load of the table from DB ?

From the documentation

Row actions only work for tables that use iOSMobileTableDataSourceEditing and where its RowIsEditable method returns True.

Long story short, you’ll need to use a datasource instead of adding rows directly to the table.

1 Like