-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Why can't I get the maximum number of rows in the sheet #1053
Unanswered
xxxxxxming
asked this question in
Q&A
-
I added the code to the rows.go file
func (rows *Rows) CurRow() int { return rows.curRow } func (rows *Rows) TotalRow() int { return rows.totalRow }
then I used in my test code
f, err := excelize.OpenFile(path) if err != nil { fmt.Println(err) return } r, _ := f.Rows("General") fmt.Println("cloumes", r.TotalRow())
it seems to return the the correct result,Is there anything wrong with me using it this way?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment
-
Thanks for your suggestion, I'll consider adding this feature in the next version.
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment