Skip to main content
Nintex Community Menu Bar
Question

Identify the rows flagged for mass deletion in Skuid JS Snippet to handle some functionality before

  • July 11, 2024
  • 3 replies
  • 28 views

Forum|alt.badge.img+3

Is there a way to identify the rows flagged for mass deletion in Skuid JS Snippet to handle some functionality before model.save() which will delete the rows ?

This topic has been closed for replies.

3 replies

Forum|alt.badge.img+13

Yep, you can use model.isRowMarkedForDeletion(row) to check, e.g. if you want to get an array of just the rows marked for deletion you could do this:

var rowsMarkedForDeletion = model.getRows().filter(function(row) {
   return model.isRowMarkedForDeletion(row);
});```

Forum|alt.badge.img+3
  • Author
  • July 11, 2024

Thank you Zach ! I have not tried this yet, I will come back when I do… 


Forum|alt.badge.img+3
  • Author
  • July 11, 2024

This worked fine Zach !