Automatically selecting new row in table

I’m using a transaction group to copy recipes from a PLC to a data table. The transaction group stores the recipe data in a new row.

After the execution is complete I want to automatically select the new row in the table and force the operator to give the recipe a new name. (The name is stored in a column of the table)

How can I do this?


This was solved in an email, but the short version is this:

You need to get the row index if you don’t already have it, use table.setSelectedRow(), and then system.gui.input() to force the user to enter some text for you to run system.db.runPrepUpdate() and refresh the table.