cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple buttons in one table column

michael_pang4
Active Participant
0 Kudos
138

Hi,

I was wondering if it is possible to create more than one button in a column?

If so, how can I do that? (staticlly and dynamically)

Thanks a lot.

Cheers,

Michael.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

That's not possible because the table cell editor for a column is always a single element.

But there are surely other ways of solving your use case. Can you give some more details?

Armin

michael_pang4
Active Participant
0 Kudos

Hi Armin,

I want a table with a column containing many buttons.

These buttons will be dynamically generated.

Something like this

Table

Col1 | Col2

ABC |Button1, Button2, Button3.. Button n

XYZ |Button4, Button5... Button n

All buttons are unique and contains images.

There could be many buttons in this column/row. This depends on the data.

Hope this makes it clearer.

Thanks

Michael

Former Member
0 Kudos

Does this table has a fixed number of rows? Then you could use a container with a suitable layout e.g. a MatrixLayout.

Another option would be a toolbar that changes its content depending on the selected row and its actions would always apply to the selected row.

Armin

michael_pang4
Active Participant
0 Kudos

No fixed rows.

Toolbar cannot be inserted into a column as well.

Former Member
0 Kudos

I did not propose to add the toolbar into the table but above its rows. Then you could use the Table.onLeadSelect event to adapt the toolbar to the currently selected row.

Armin

Answers (0)