Michele62
(Michele Casagranda)
1
Hi,
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
ollit.1
(Olli Tietäväinen)
2
The Grid Renderers Collection add-on has a RowIndexRenderer: https://vaadin.com/directory/component/grid-renderers-collection-for-vaadin7 (it works for Vaadin 8 as well despite the name)
Michele62
(Michele Casagranda)
3
Hi Olli,
Thanks for the reply, it was just what I was looking for…