Capture delete row event in portal editable grid

Certified Lead Developer

Is there any way to capture delete row event in portal editable grid.

OriginalPostID-198315

OriginalPostID-198315

  Discussion posts and replies are publicly visible

Parents
  • @ajinkyab With regards to capturing the delete event, you may do something as follows and hope it might give you an idea:

    $("#fd_component_"+window.FormDesigner.runtimeNamespace+ gridID +" .deleteRowIcon").click(function() {
    \ t// Code that should be executed prior to deletion of a row which happens when the 'x' icon is clicked in the Editable Grid.
    });

    Where as, removeRowFromGrid() mentioned above can be used when you want to remove a row from the grid at any point of time.
Reply
  • @ajinkyab With regards to capturing the delete event, you may do something as follows and hope it might give you an idea:

    $("#fd_component_"+window.FormDesigner.runtimeNamespace+ gridID +" .deleteRowIcon").click(function() {
    \ t// Code that should be executed prior to deletion of a row which happens when the 'x' icon is clicked in the Editable Grid.
    });

    Where as, removeRowFromGrid() mentioned above can be used when you want to remove a row from the grid at any point of time.
Children
No Data