Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
show row number in grid
Hello all,
Is there a possibility/add-on to show in the first column the row number?
Similar to this: http://i.stack.imgur.com/LmfCi.png
Thansk for the information!
Thomas
Not as in the screenshot where the rownum has different rendering than the other columns.
But you can always make a generated column and make that column your first column. You can use a renderer to give that column a slightly different look than the other columns.
But the concept of rownums are tricky and IMHO redundant: You'll need to think long and hard about what it's meant to express. What about sorting ? What about paging ? etc.
Peter
Hi, have a look at Vaadin Spreadsheet. It looks exactly as your screenshot and you can add Vaadin components into the cells. Check out the demo here.