Skip to main content

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

Hi @Charles_S, Thanks for reaching out about this. I totally get it that you want to avoid creating too many components.

If you’re looking to change the color of the row only, you might want to consider creating a color variable in addition to your “RowOdd” and “RowEven”. You can then apply this variable to the row and set a variable action for it in a prototype.

Here are a couple of handy guides that might help you:

I hope this helps!
If I’ve misunderstood anything, please let us know. It would be really helpful if you could share your prototype or even some screenshots or a recording. It would be great to see your variable settings and prototype settings.

Also, we always welcome insights and suggestions from our community! I believe our community is filled with expats, so feel free to jump in!

Thank you,


My challenge is that “RowOdd” and “RowEven” already are color variables. If there was a way to stack or overwrite only one instance of that color variable, then I could do this. But I assume items can only have one color variable attached at a time?

I’ll look at the links you provided, but not sure if they give me quite the capability I need.