NavTab active set on Modal show table invisible

The code should be wrapped in backticks ` not in quotes ’ … How to format code in your posts

Also i am not asking about how the offcanvas runs the code. I am asking about how to you open the canvas itself and send the arguments to it - i.e. how does the offcanvas know which tab to open?

Do you have a live link where i can test this, as it will be a lot easier to debug?