Hello. I found your addon because i need RowIndex from backend data provide

Hello. I found your addon because i need RowIndex from backend data provider.

On UI it works great (which i dont need to show index).

It is possible to get value from your renderer, like for example in DateRenderer (editable) ? Maybe if u can modify and add RPC to RowIndexRenderer ?

If this is possible, which i hope it is, i will be very very happy developer.

Yes RowIndexRenderer is meant for showing the index of the row which is independent from the item index.

One way to get the row index is to add item click listener and use https://vaadin.com/api/framework/8.8.5/com/vaadin/ui/Grid.ItemClick.html#getRowIndex--

Yes i know about item click listener and row index from client click.

But till yesterday i did not know that i could set “setHandleWidgetEvents(true)” on column and if i click on button in row for edit, item click listener will get fired for that specific row.

And from there i can get row index no problem. So problem solved. Thanks for you reply though.