pat310 / quick-pivot

Quickly format data to create a pivot table
https://www.npmjs.com/package/quick-pivot
MIT License
63 stars 21 forks source link

Pivot should not add to collapsedRows if the row cannot be collapsed #37

Closed turnerniles closed 7 years ago

turnerniles commented 7 years ago

If user runs pivot.collapse(2); and the second row does not contain collapsable children, {2: undefined} is added to pivot.collapsedRows. Instead nothing should be added.

pat310 commented 7 years ago

Closed in #38