Grouping columns seems to reset column widths
Created originally on Bitbucket by twild (Tom Wild)
When I group columns using:
#!python
worksheet.column_dimensions.group(openpyxl.cell.get_column_letter(groupColumnsItem[0]), openpyxl.cell.get_column_letter(groupColumnsItem[1]), hidden=True)
It seems to reset the column widths that I set using:
#!python
worksheet.column_dimensions[openpyxl.cell.get_column_letter(colNum)].width = colWidth/7.0
It doesn't matter what order I do the steps in, the column widths are not set but If I don't group the columns then the column widths do get set
It doesn't matter whether the hidden parameter in the group function is True or False
Any thoughts would be appreciated
Tom