New Table - Custom Column with Button?

Hi - I've begun looking at the new Table component and have not yet found how to add a custom column containing a Button to the table. In the legacy table component, this was done by simply adding a custom column with a Column type of Button. But in the new table, there is no selection to do so and I've found no doc indicating support for this.

Is there doc covering this use case anywhere?

Thanks!

Hi! The new table supports "Row Actions" in place of custom Button columns. You can add row actions and configure their event handlers through the Table's inspector in the Content section.

Let us know if this works for your use case!

Thanks!

Yes, that should work for us! Can you send me a link to the doc covering this? I noticed that the default behavior is that the action icon is only visible when hovering over the line. There's one page we have where the designer wants the icon to always be visible and I didn't see any property to control that.

Thanks!

Hey @jimmealcast!

There's some documentation on table actions here. If you'd like something that is permanent you might try adding a "Click cell" handler to one of your columns. The "Link" type can also be useful for indicating that it's clickable.

Does that work for your use case? Or is there a particular part of your flow that calls for something else?

Hi!
The table actions using an icon does work fine for opening a modal - which is what it needs to do. The one question I still have on this is how to make the table action icon always visible. The designer wants it to always be visible on this table. Any hints on how to do that?

Thanks!

So far there isn't a way to make action buttons permanent - if you're looking for icons specifically could an image column work?

Curious to hear more about the design specifications you're looking to meet!

Hi Kabirdas,

No worries - it's not an absolutely fixed requirement.

The designer just wants the option for an action visible at all times. It won't be all the actions, but just some. Not sure exactly why, but that's the ask.

For now, he's fine with what's there.