Category: How do I do X?


This solution is summarized from an archived support forum post. This information may have changed. If you notice an error, please let us know in Discord.

Possible to get the computed value of currentRow?


I have a custom column in my table widget with a computed value, but when I try to use {{currentRow.customCol}} in the JS config of the style properties, I get a blank value instead of the computed value. As a workaround, I need to replicate the calculation in the styling, which is not ideal. According to the Appsmith team, they are working on getting this feature into the table widget. However, I asked if the feature will handle custom columns being able to reference themselves as well. In the meantime, I will continue using the workaround.


The problem was that a custom column with a computed value could not be referenced in the JS config of the style properties in Appsmith's table widget. As a workaround, one could replicate the calculation in the styling using the same formula. However, the Appsmith team confirmed that they are working on enabling custom columns to reference themselves and other custom columns. They provided a GitHub issue for users to follow and participate in the discussion. In the meantime, the double-calculations workaround can be used.