Hide value in cell depending on value in the same row

Hi everyone

I have a table that looks like this (redacted information because of privacy):

In this image you can see multiple rows that each have a table as well. Right now, each row had a button replace and renew, with the replace button only being enabled for the first row.

I would like to make that table so that the replace button is only visible on that first row and thus not only disable on any other row but also hidden. Is this possible right now? I could not find a related post for it and did not see the option for this in the software itself. The only option I found was to hide the entire column. For more clarity, I would want it to look like this:

Have I just missed something or is this actually impossible atm?

Hi @Allys1098,

As you rightly assume, it is not possible to dynamically hide the button from one row when using the button type column. An alternative is using the row action button which can be hid/shown dynamically, but has less options to customise.

1 Like

Hi there @MiguelOrtiz , thanks for your alternative.

It seems weird to me why this is not possible, maybe this could be a feature that we can request? (I'm relatively new to this forum so I'm not sure how those rules work).

Do you want the button to only show for one specific id?

I think you could potentially work around this by using some conditional for the button value:
{{ currentSourceRow.id==123 ? 'Replace' : null}}

1 Like

@Tess I did not think of that! Thank you for that solution :smiley: