I have a state that I am using to store information on selected rows so I can export a CSV and print labels from it. I have a table that on select row adds to the state named var_label_list using a called JS query that runs
var_label_list.setValue(var_label_list.value.concat([table6.selectedRow.data])) which adds a value to the array.
This then populates a table with the rows of var_label_list that can be exported into a CSV file. All of this works fine.
In the label list table I've created a custom column to contain a delete button. I'd like to use this to remove entries from the array in var_label_list, but am having no luck. Have tried filter, pop, splice but no luck.
Example: var_label_list.value.splice(1,1) doesn't do anything, but does run. Any help would be appreciated.