AllenFang / react-bootstrap-table

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

how to add id to tr elements inside the react-bootstrap-table #2031

Open vamshi333 opened 5 years ago

vamshi333 commented 5 years ago

Hi,

I have a use case where I don't want to allow a user to edit the row, so I decided to put a css on the row as pointer-events=none, but I see that there is no id on the tr element, is there a way I can generate the id on the tr element

My ultimate goal is to stop the user from editing a particular row based on the some value, is there any solution for it?