Vaadin 8 Grid row index


I need to add a column to my vaadin 8 grid showing the row index, a backend numbering sequence for me is impossible.

It would be nice to have an api inside the grid to add this column but unfortunately there isn’t.

Does anyone have any suggestions?

Thank you

The Grid Renderers Collection add-on has a RowIndexRenderer: (it works for Vaadin 8 as well despite the name)

Hi Olli,

Thanks for the reply, it was just what I was looking for…