Grid. Some of the rows must be not selectable

I`m using in Vaddin 8 a Grid with multiple selection mode enabled. This is dinamicaly populated and based on some conditions some of the rows must be not selectable.
Is there a way to do that?

Sounds like you might need a custom SelectionModel for that. As a quick workaround, you could try adding a StyleGenerator and add a style that sets pointer-events to none?