table icon indicating copy to clipboard operation
table copied to clipboard

fix getLeafHeaders

Open bug-brain opened this issue 2 years ago • 1 comments

I have noticed that table.getLeafHeaders() contained headers that had more headers in subHeaders and thereby are not leaves. Looking at the code I found this part where the header is added to the array in any case.

The method is used for the column sizing feature but yarn dev gave me no errors (could not figure out yarn test:dev). I hope this helps anyway or at least points you in the right direction to fix this small issue.

bug-brain avatar Jul 11 '23 12:07 bug-brain

Hi I am also finding that getLeafHeaders returns headers that have subheaders. Is there any update on this bug?

eichelberger-c avatar Dec 01 '23 04:12 eichelberger-c