Skip to content

Commit

Permalink
Freeze top row in exported *.xlsx
Browse files Browse the repository at this point in the history
Close #372.
  • Loading branch information
sebhub committed Jul 28, 2019
1 parent 5cfe1d7 commit 9324083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doorstop/core/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def _get_xlsx(obj, auto):
worksheet.column_dimensions[col_letter].width = width

# Freeze top row
worksheet.freeze_panes = worksheet.cell(row=1, column=1)
worksheet.freeze_panes = worksheet.cell(row=2, column=1)

return workbook

Expand Down

0 comments on commit 9324083

Please sign in to comment.