Posted: 14 Aug 2017 4:00 EDT Last activity: 31 Aug 2017 2:30 EDT
Delete Specific Row in repeating Grid with Confirmation message
I am having repeating grid in section and each row should contain delete icon (as icon or button or anything).When I click on delete option, it should display model dialog with confirmation message and 2 buttons as Ok and Cancel. When I click on OK, selected row should get deleted and on Cancel close the model dialog without delete row.
I configured this scenario as on delete icon click as event and Local action as action and calling another section. That called section contains note and 2 buttons. On Ok button click as event and Delete item as action, on Cancel button click as event and Cancel as action.
But when I clicked on delete option, model dialogue is opening, then I clicked on OK button no action is permed and when I click on Cancel button assignment is closing.
Can someone please help me to achieve this?? Configuration Screenshots would be appreciated.
Please go to Designer Studio - User Interface ==> Gallary ==> Combinations ==> Row actions. Please check the way the button click event is configured. PLease change the setting to handle the list items and delete the item as in the screenshot below.
But my requirement is not with function. Need to call model dialog and display message with 2 button. On click of each button, specified functionality should work. Please provide some other approach to achieve this.
I tried with a modal dialogue pop-up window but not able to achieve this requirement due to some issue with the delete item functionality and i don't think you can achieve this functionality with modal dialogue. So i tried with the pop-up window which contains our message with OK(deletes item) and CANCEL(wont delete item) buttons functionality as shown in my attachment.
Note: In my implementation added the popup message as "Are you sure to delete" in my function, you can customize it over there.