Multiple datatable

Hi everyone
I have a page with multiple datatable with action (generated after connecting to firebase and then injected via dom7)
The problem is that when i select a row and press the trash icon i can’t get an onClick event .
How can i initialize the multiple datatable after insering them

Don’t use data-table-init class on it, and use app.dataTable.create method to init it manually https://framework7.io/docs/data-table.html#data-table-app-methods