AllenFang / AllenFang/react-bootstrap-table

How to disable expand row on a specific column

Open
#2,104 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.2k
Forks
761
PR merge metrics
No merged PRs in 30d

Description

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](https://user-images.githubusercontent.com/1291980/78022166-c81cd000-7354-11ea-85ba-703533a0b7a2.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.