Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The problem you will have with this design is that you lose your selectionsafter changing the filters. Luckily, there is a way to get your selections back after that refresh: When you create a parameter, you can access their previous value using getValue(), as long as you have not overwritten it yet (usually by using setValue()).

For Input Matrix in particular, each row will have a ‘selected’ key, with value of true or false. You can manually set them so that rows are pre-selected when the InputMatrix is presented. Combining this with the ability to get previous input with getValue() allows you to keep selections that would otherwise be lost or hidden.

...