I have an interface with a Table component that basically displays a table from a MSSQL database, and some dropdowns that lets the user choose which table they want to view.
I'm introducing CrUD, but found that letting the user edit the rows inline is unfavorable because the user will have to manually input data into the foreign key columns. So I've resorted to using a Form generated from the Table.
I was hoping the Form contents would regenerate every time the user views a different table and selects a row to edit, since it's pointing to {{ table.selectedRow.data }}
, but it doesn't seem to be the case. My problem now is that there doesn't seem to be a way to call "Generate Form" via Javascript either.
Stuck on what I can do here - I'm hoping I don't have to create one Form for each table in the database lol... thanks for your help!