I am trying to utilize the built in functionality PX.Data.XLSXReader to read an uploaded/imported Excel file. The problem I am having is that all rows above the row which is used to define the _headerRow within the file seem to be ignored and there is no way to reset the position on the reader above the row designated as the _headerRow that I can find.
In my Excel document, I have some header information I need to parse in rows above the _headerRow. Is there a way to parse these rows, or do I need to use a different Excel reader?
If I need to utilize a different Excel reader, are there any requirements or rules to using external open source NuGet packages I need to be aware of when choosing one for the Excel reader?
Solved
How do I read all rows in an Excel file using XLSXReader?
Best answer by epetruncio
I have decided that since I have access to the XLSXReader code, to copy the code, paste it in a local file to my project, rename it so it doesn’t conflict with the current XLSXReader, and modify it to how I’d like it to work.
Login to the community
No account yet? Create an account
Social Login
Login with your Acumatica accountEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.