Hi,
To be able to do a PUT /inputs/:id/settings request I need to get the index of the row of my Inputs table.
I know of the protocol.GetTriggerParameter()-method but this only returns the same parameter ID, no matter which row.
How do I get the index of the table row of a write param triggering a QAction?
Robin Becker [DevOps Advocate] Selected answer as best 12th May 2022
Hi Robin,
You need to put the tag row="true" in the QAction xml definition:
After that you just need to call the protocol.RowKey() method that returns the key of the row that triggered the QAction.
Robin Becker [DevOps Advocate] Selected answer as best 12th May 2022