AllenFang / react-bootstrap-table

A Bootstrap table built with React.js
https://allenfang.github.io/react-bootstrap-table/
MIT License
2.24k stars 783 forks source link

How to add/show row number for each row? #2109

Open josecarlosbcn opened 4 years ago

josecarlosbcn commented 4 years ago

Hi!!!

I would like to know if there is any option to give or add a row number for each row being independente of data. I mean, If I first show the data ordered by X, I've got the data with it's row numbers for each row. If I order the data by column Y, I've got the data ordered with it's row numbers. Row number 1, always will be at the top of the data, then row number 2, row number 3 ...

Is there any way to do this with pagination too?

Thanks in advance,

José Carlos