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 disable expand row on a specific column #2104

Open swapab opened 4 years ago

swapab commented 4 years ago

I have enabled expand row on click of a row. At the same time, I have a column called Actions. When I click on any action let's say tag action, the action is performed the row is expanded.

Is there a way to stop the row from expanding on this particular column?

I went through the doc https://react-bootstrap-table.github.io/react-bootstrap-table2/docs/row-expand-props.html but no luck so far.

Could you please help me figure out a way?

@AllenFang great library btw. very useful. Backoffice