-
How to freeze the top row? I tried various combinations of this and did not work err := f.SetPanes("Sheet1", &excelize.Panes{
Freeze: true,
YSplit: 2,
TopLeftCell: "A1",
ActivePane: "bottomLeft",
Panes: []excelize.PaneOptions{
{SQRef: "A1:65", ActiveCell: "A1", Pane: "bottomLeft"},
},
}) |
Beta Was this translation helpful? Give feedback.
Answered by
xuri
Mar 16, 2023
Replies: 1 comment 2 replies
-
Thanks for the feedback. This question similar with issue #981, please reference the documentation of the err := f.SetPanes("Sheet1", &excelize.Panes{
Freeze: true,
YSplit: 1,
TopLeftCell: "A2",
ActivePane: "bottomLeft",
}) |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
aphsa
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the feedback. This question similar with issue #981, please reference the documentation of the
SetPanes
function, we can freeze the first row like this: