Power table dynamic data edit

ignition 7.9.


I’m following these guidelines for editing an SQL db through a Power table.


I can get it to work fine but please can someone show me how to make the table name dynamic? I want to put this table in a template so I can use it as part of a recipe editor. Ideally, I would like this to a string property on the template.


I have solved the issue with the help of this page.


I have an “EDIT DATA” button which uses some of the code in the above link. It iterates through the column names and builds a new column attributes table. This table contains a field called “editable”.

I also used code from the following links to create the “add row” and “delete row” buttons.