Disable deselection in table

Hi,
I would like to disable the action of deselecting a row in a table, is that possible ? I looked around the forums and docs but couldn’t find what I’m looking for !
Thanks in advance :slight_smile:
Claire.

Unfortunately not; the only way to achieve this is 1) extend the client side (very difficult) or 2) using a valueChangeListener to re-select an item (easy, but requires some event masking)

Ok, thanks for your answer !

How can I save the previously selected row ? Isn’t it already too late in valueChangeListener ?

Yes, it is too late; but in the listener you can change back to the old value. I agree it’s not an optimal solution, but besides extending Table, it is the only one.