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

  • Jul 11, 2024 6:13 PM UTC
  • 3 replies
  • 52 views
  • Translate All

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);
});```
Translate

Forum|alt.badge.img+3
  • Author
  • Jul 11, 2024 8:31 PM UTC

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

Translate

Forum|alt.badge.img+3
  • Author
  • Jul 11, 2024 8:31 PM UTC

This worked fine Zach !

Translate