jbetancur / react-data-table-component

A responsive table library with built-in sorting, pagination, selection, expandable rows, and customizable styling.
https://react-data-table-component.netlify.app
Apache License 2.0
2.04k stars 411 forks source link

Support for accordions via expandableCloseAllOnExpand prop #1149

Closed ShaneHudson closed 1 year ago

ShaneHudson commented 1 year ago

Ticket: #1

New props added with named expandableCloseAllOnExpand and type boolean to close other expanded row on expanding another row.

This PR was initially written for upstream by @arzebmscit15; however it never got merged, so will be merging into this fork.

netlify[bot] commented 1 year ago

Deploy Preview for react-data-table-component failed.

Name Link
Latest commit 1508b9bec672f29f7e4d915b151c84e05280c200
Latest deploy log https://app.netlify.com/sites/react-data-table-component/deploys/64abd09843c97400082b533f