Closed hardikmodha closed 4 years ago
react-table-sticky fails with an error
react-table-sticky
Cannot read property 'sticky' of undefined
when using headergroups with depth having more than 1.
{ "id": "name_details_container", "Header": "Name Details", "sticky": "left", "Footer": "Name Details", "columns": [ { "Header": "Name", "Footer": "Name", "columns": [ { "Header": "First Name", "Footer": "First Name", "accessor": "firstName" }, { "Header": "Last Name", "Footer": "Last Name", "accessor": "lastName" } ] } ] }
Following is a reproducible example:
https://codesandbox.io/s/react-table-sticky-official-r4hjg?file=/src/App.js
react-table-sticky
fails with an errorwhen using headergroups with depth having more than 1.
Following is a reproducible example:
https://codesandbox.io/s/react-table-sticky-official-r4hjg?file=/src/App.js