Try writing an activity on that button to fetch the record by using obj-open or obj-open-by handle methods and then do a property set for the required fields and lastly do an obj-save and commit(using call Work-.commitwitherrorhandling activity).
Posted: 1 year ago
Posted: 24 Jul 2021 23:43 EDT
sahul vetcha (Sahul)
Thanks for suggesting the approach. It worked but Obj-Open methods are not required.
Below are the details - ( just for others information)
Display records from a data table on the screen. Each row contains editable controls like dropdown and checkbox. Once user changes the values there should be save button displayed for each row. On click of the save button the values should save in side the DB table.
1) In Section table layout - add icon or button
2) add on click event on the button, select run activity action. The activity we are giving here will run on context of the row in which we clicked the save button. That is - the row will become the primary page for the activity.
3) In side the activity --> Create an empty clipboard page of same type (same class of the rows in the grid)
4) Do Property-set into the clipboard page properties from the properties of the Primary page (that is the current row in the grid)