When developing a Connector with dataminer integration studio.
I would like to have a Configure Button in a Table Column. So when I click the Configure in a row in the table, a popup window should appear with the values from that row pre-filled. Is this possible? Or is there a better way to solve it?
Adding a button to the column works, but adding a pagebutton does not.
Hi Anna,
Unfortunately, I do not believe it is possible to do what you are after as pagebuttons do not work when included in a table.
They are designed only to work when placed on a page, and I do not know how to populate the parameters from a single click directly.
You would have to have a button in the table to set the parameters and then open the page via the page button.
Alternatively, you could see to have an Interactive Automation Script that triggers from the table and gets prepopulated with the row data (see: options attribute | DataMiner Docs).
Hi Anna
If the intention is to be able to edit the row in one go, then the ContextMenu is an option. With this, you get a 'popup' with the configured cells pre-filled (see dependencyValues attribute | DataMiner Docs for the syntax, at the bottom).
This can then trigger a QAction to update the row with the received values.
If the intention is to execute a certain action with the values of the row, you can add a column with a button that will trigger the QAction. Inside the QAction you can then retrieve the row (with the row="true" option to get the primary key) and run the action.
with the same process i need to show row data on a diff page so any method available for that.
Ok, suspected that. Thanks for confirming.