How to set a Table Row always being selected

Hi

I implemented a double-click listener for a table. it works but there’s a problem.
The table row can be off selected, so when double-click event is fired, the row is off-selected.
For this I thought the row needs not to be off-selected. Is it right?
If so or not, could you give me some advice?

thanks

with setNullSelectionAllowed(false) there should always be an item selected

You could also attach a valueChangeListener and re-select the row with table.select(bean). You probably see it unselect and then select. Remember to call setImmediate(true) on the table

Hi

Thank you for your advice. It’s good.

Happy New Year.