Retool Bug? Cannot set Table Row Height programmatically

  • Goal: Changing the height of rows programmatically from "xsmall" to "dynamic" via a checkbox or variable is not working for DYNAMIC only. xsmall, small, large all work fine.

  • Steps: I have attempted several versions of creating a string value of "dynamic" to input into the Row Height FX field, to no avail. Manually entering a string of "dynamic" results in the removal of the end "c" and does not set the string correctly. After re-entering "dynamic" into the FX text field, it can be set but it does not work with a variable or other method to change the string input for the Row Height field.

  • Details: Here is a link to a quick Loom video showing the issue

  • WorkArounds: Is it possible to change the Row Height in a table via a Component Change as opposed to using FX to set?

Thanks so much!

1 Like

I confirm I was able to reproduce this, "dynamic" won't work properly when being used as a variable.

Must likely a bug. I don't think there is an easy workaround for this @Switchboard, sorry.

1 Like

Thank you so much for sharing a video of the behavior @Switchboard!

Can confirm this is a bug and I can file a bug report on this right now to our UI engineering team.

Great catch and hopefully I will update this post with some good news of this being fixed shortly :+1:

Amazing!! Thank you Jack, this is wrecking up my app at the moment :slight_smile:

Hi @Switchboard,

Got some traction on the ticket, currently the fix is in progress and should be getting finalized and pushed out soon! :crossed_fingers:

Hi @Switchboard,

Unfortunately, this may be a longer timeline than we originally thought :disappointed:

We shipped a fix for the issue with c getting removed from dynamic, but we still need to fix the issue where dynamic doesn't work when wrapped in double curly brackets. We'll reach out here when it is fixed, but we don't have a timeline yet