Skip to main content

useRowExpandColumn

The useRowExpandColumn react-table plugin hook injects a new column at the beginning for expanding and collapsing groups. This hook depends on the useGroupBy and useExpanded react-table hooks.

The icon to be used can be customized using the expandIcon table option. It has to be a React component that should be used instead.

Live Editor
Result
Loading...