GroupTable - Can I get selected column of a cell?

Hi,
I’m trying to get the selected column when user clicks on a row or uses shortcut.
I’ve tried:
groupTable.getColumn(id).addClickListener(event → { System.out.println(“COLUMN CLICKED”);} //subscribe to AfterShow event
But it doesn’t work. Is there any way to work around this case? Thanks.
I’m using Jmix 1.0.0-211.

Hello!

Unfortunately, cannot reproduce the issue. I’ve tried the following code and notification appears when I click on the row cell of the column:

@Autowired
private Notifications notifications;
@Autowired
private GroupTable<User> usersTable;

@Subscribe
public void onInit(InitEvent event) {
    usersTable.getColumn("username").addClickListener(userClickEvent -> {
        notifications.create()
                .withCaption(userClickEvent.getSource().getStringId())
                .show();
    });
}

Could you reproduce the issue in a small demo project and share it? Jmix 1.0.0-211 is a version of Jmix Studio plugin, could you check the framework version in the Welcome.jmix file or in the build.gradle file:

jmix {
    bomVersion = '1.0.0'
    projectId = 'myapp'
}