I’m not sure if there’s a way to do this, or if this becomes a feature request. I’m looking for a way to use variables and click actions to override one instance of a variable.
Example: I have an auto-layout table, built of rows, with auto-layout cells in each to mimic columns - the first of which contains a checkbox component. For each row I have attached a color variable of “RowOdd” or “RowEven”
This is to create a zebra table. What I would like to do is, when someone clicks the checkbox in column one of whatever row, the background color of that row changes from “RowOdd” or “RowEven” to a selected color, without affecting any other row. Somewhat like using (this).id in Jquery to modify the current element being interacted with.
I don’t want to do this with multiple versions of the row as a component. That adds unnecessary complexity, when I just want to be able to change the color. And I obviously can’t change the variable “OddRow” because it’d change every other row, instead of just the one clicked
I’m hoping there’s a setting or a trick I’m overlooking. If not, I think this would be a nice improvement to the new variables
