I have an editable grid which has both options to add and remove lines. When a u

I have an editable grid which has both options to add and remove lines. When a user deletes a line, I need a warning pop up like you can have on a button. If there any way to do this in a similar grid to the one in the recipe below? Or any work around that can be recommended. I would prefer not to use a select and click delete if I can avoid it.

forum.appian.com/.../SAIL_Recipes.html

OriginalPostID-138574

OriginalPostID-138574

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer
    Hi Joel, have a look at the attached and see if it gives you some ideas on how you could do this. You'll see I've added a new load() variable called local!delIndex, the dynamicLink behind the 'X' in the grid now just saves the index position to this variable. Then if this variable is populated I use a richTextDisplayField to show a warning and links for Yes/No confirmation. Clicking YES performs the actions that were previously behind the 'X' in the gird, NO simply empties the index variable.

    sail_inline_edit_warning.txt

Reply
  • 0
    Certified Lead Developer
    Hi Joel, have a look at the attached and see if it gives you some ideas on how you could do this. You'll see I've added a new load() variable called local!delIndex, the dynamicLink behind the 'X' in the grid now just saves the index position to this variable. Then if this variable is populated I use a richTextDisplayField to show a warning and links for Yes/No confirmation. Clicking YES performs the actions that were previously behind the 'X' in the gird, NO simply empties the index variable.

    sail_inline_edit_warning.txt

Children
No Data