Single selection datatable for many actions available in the same form via buttons
-
How do I select a row in single-mode out of slot context, ie when I click a select single retrieve the line object in a method?
The situation is that I have to select a line retrieve this object so that I can trigger multiple actions with it available in the same form
-
Hello. Your question is not clear.
If you want to use the data stored in a row for a method, one way is to place a button to call said function inside the “selection” slot.
You then need to pass the row data as an argument to your function. I believe thid can be access by using “selection.rows[0].data” but might be wrong