04-28-2022 08:27 AM
Good afternoon,
I am coding a graph loop so i can show / hide variables, according to the user preferences.
I am using a table to show the parameters selected by the user, i edited the run time menu from the table to add / delete variables.
I am having a problem when i need to remove the data from the table, because i am using colors i cannot simply remove the row directly from the array, the data is removed but the color isn't and the colors below dont go up. If i use the delete row from the system everything works fine but i don't want the user to write directly on the table so i need to convert it to a indicator and when i do this the delete row stops working.
Is there any other way to remove an entire row using a property node? I cannot find any info on this.
Thank you for your time
Miguel Mota
04-28-2022 08:42 AM
Hi Miguel,
@mgouveia wrote:
I am having a problem when i need to remove the data from the table, because i am using colors i cannot simply remove the row directly from the array, the data is removed but the color isn't and the colors below dont go up.
You "just" need to set the colors correctly again after deleting the row…
04-28-2022 08:44 AM
My first suggestion would be to change from a table to a 1D cluster array, the cluster consisting of a colorbox, string, and two doubles. The only way to do it with a table, would be to essentially recolor the entire first column every time you delete a variable, in addition to updating the other info.
Saying "Thanks that fixed it" or "Thanks that answers my question" and not giving a Kudo or Marked Solution, is like telling your waiter they did a great job and not leaving a tip. Please, tip your waiters.