Grid hide Generated Button on specific cell

Hello everybody,

i currently have the problem that I have a grid with several rows. The last column consists of generated buttons (ui.ButtonRenderer). Is it possible to hide the buttons on specific cells/rows? I tried to extend the button rednerer but it does not contain any render method to override.

Do you have ideas on how to do this? Or do I have to switch back to the table? Thank you.

I think your case partially analogous to this one, perhaps this will give some idea how to progress.

https://vaadin.com/forum#!/thread/9418390/9765924