GridPro addSelectionListener

I am having problems with adding a selection listener to my GridPro component. I don’t get any print out in the console and the rest of the code doesn’t work either. Is there a reason this doesn’t work on GridPro? I’m on Vaadin 24.0.6.


I found out that if I add a column which is read-only, the selectionListener is triggered only when I select an item in that column.

I need to know which item the user have selected to populate another component in the view. Is there really no way to get the handler if the column is editable?