Update / Remove specific row from model?

  • 1
  • Question
  • Updated 2 months ago
  • In Progress
Is there any way to update or remove a specific row in a model?

Let's say I want to run a branch that investigates row 0 on a model, and if row 0 is found to have a certain condition, removes that specific row from the model prior to saving the model. How do I go about doing this?
Photo of Mark L

Mark L

  • 1,032 Points 1k badge 2x thumb

Posted 2 months ago

  • 1
Photo of Matt Brown

Matt Brown, Official Rep

  • 1,986 Points 1k badge 2x thumb
Hi Mark! One thing to try here: a model action that listens for an update to that row (row 0), that on update runs the action "remove row from model (rows in context)". Use a UI-only field to trigger the model action. Make sense? Definitely getting into some deep Skuid functionality here.
Photo of Mark L

Mark L

  • 1,032 Points 1k badge 2x thumb
Interesting approach, I'll try that. Thanks!