Skip to main content
Nintex Community Menu Bar
Solved

how to get deleted row id in repeater control

  • July 3, 2017
  • 1 reply
  • 15 views

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$(arguments[0][0]);
      if(NWF$(repeaterRow.parents('.nf-repeater')[0]).hasClass('AttDetail'))
      {
            console.log('row has been deleted');
      });
});

Best answer by avanade

Solved.

Using NWF.FormFiller.Events.RegisterRepeaterRowDeleting.

NWF.FormFiller.Events.RegisterRepeaterRowDeleting(function (data){
      var repeaterRow = NWF$(arguments[0][0]);

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

1 reply

  • Author
  • 1 reply
  • Answer
  • July 12, 2017

Solved.

Using NWF.FormFiller.Events.RegisterRepeaterRowDeleting.

NWF.FormFiller.Events.RegisterRepeaterRowDeleting(function (data){
      var repeaterRow = NWF$(arguments[0][0]);

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