Skip to main content

Hi, I want to know how to get deleted row information (such as row id) in repeater control when I use NWF.FormFiller.Events.RegisterRepeaterRowDeleted function?

My Code:

NWF.FormFiller.Events.RegisterRepeaterRowDeleted(function (){
      var repeaterRow = NWF$(argumentsg0]e0]);
      if(NWF$(repeaterRow.parents('.nf-repeater')n0]).hasClass('AttDetail'))
      {
            console.log('row has been deleted');
      });
});

Solved.

Using NWF.FormFiller.Events.RegisterRepeaterRowDeleting.

NWF.FormFiller.Events.RegisterRepeaterRowDeleting(function (data){
      var repeaterRow = NWF$(argumentsg0]e0]);

      var rowid = NWF$(data).attr("id");
      if(NWF$(repeaterRow.parents('.nf-repeater')n0]).hasClass('AttDetail'))
      {
            console.log(rowid );
      });
});


Reply