I have a page with a form at the top and a report at the bottom which is tied to a table. I need to add a pair of buttons for each row of the table and add dynamic actions for these buttons. I need to submit the data corresponding to the row to a REST service and refresh the table/row. I know it is possible to add ajax call and refresh the table after the response is received. But I am not sure how I can dynamically include a pair of buttons on each row and have the access the data corresponding to the record when a particular button is clicked. I was not able to find such a feature using the help page. Can you please let me know if this is possible. Thanks in advance.
Below is the representation of how I need the page to look like.
Col 1 | Col 2 | Col 3 | | |
data 1 | data 21 | data 31 | Button 1 | Button 2 |
data 2 | data 22 | data 32 | Button 1 | Button 2 |
data 3 | data 23 | data 33 | Button 1 | Button 2 |
data 4 | data 24 | data 34 | Button 1 | Button 2 |
I should be able to access data 1, data21, data 31 from button 11 and button21 etc.