Closed Mactory closed 8 years ago
Thanks for this and the other PR! I've not had a chance to review them yet, but I will do so before the next release of FixedHeader.
I think it needs to do both min-width
removal and width
removal as well since both are set. More importantly it also needs to do `min-width removal with autowidth is enabled. Both committed here: e9e4a93530ac2d7dfda207076765b49aa78dc6a0 .
In the '_unsize' function the 'width' property of the td and th elements is reset while in the '_matchWidths' function the 'min_width' property of these elements is set. This causes a problem if the header is reinjected into the html table as the width values that were set by FixedHeader remain and prevent a proper resizing of the table. This pull request fixes the issue by changing the '_unsize' function to reset the 'min-width' property.