Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can we use column name as title? #9

Closed
armenpn opened this issue Jul 3, 2021 · 1 comment
Closed

can we use column name as title? #9

armenpn opened this issue Jul 3, 2021 · 1 comment

Comments

@armenpn
Copy link

armenpn commented Jul 3, 2021

can we use column names, such as A, B, AB, for some excel doesn't contain any title or the title may be updated from day to day by uploader.
such as can we define structs like:

type Demo struct {
	ID  string `xlsx:"A"`
	Sku string `xlsx:"B"`
}

found this:
If no title row privoded, the default column name in exce like 'A', 'B', 'C', 'D' ......, 'XFC', 'XFD' can be used as column name by 26-number-system.

what value should pass to TitleRowIndex

@szyhf
Copy link
Owner

szyhf commented Jul 5, 2021

At the earliest version, it can work like that, but some bug was cased and I comment the feature, let me see what happened.

@szyhf szyhf closed this as completed Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants