Left/Right content in a table column

I want in a table a column with an icon and a text on the left and a drop-down menu with an icon on the right.
Currently I use a HorizontalLayout with a Label on the left and a MenuBar on the right, which is generated with a ColumnGenerator.
This works fine. But it has the disadvantage that these cells are no longer selectable.
Is there a way to get the layout
the select functionality?