OnEachRow toArray() does not preCalculate the row #3210
Unanswered
SebastianUhlig
asked this question in
Q&A
Replies: 2 comments 4 replies
-
I think you need the |
Beta Was this translation helpful? Give feedback.
1 reply
-
After some debugging, i found out that the problem is WithChunkReading and ShouldQueue. Therefore i get the shipping info row neither calculated nor the function itself. Can someone explain why that happens and how can i solve this? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello together.
I'm working on an Excel Importer right now and I'm running into the following problem:
In the Excel itself, for example, I specify the shipping info by =Shippinginfo!A1, which is in another sheet.
When importing, I go through each row and would like to get the corresponding shipping info row precalculated.
According to my search on an old github issue (#2612 ), it should work for onRow() with $row->toArray(null, true), since it probably can't work with WithCalculatedFormulas. However, I always get only 0.
And if I do toArray(null, false), I get =ShippingInfo!A1 (so not precalculated).
What am i doing wrong here? I dont understand. Hope someone can explain it or help me.
Beta Was this translation helpful? Give feedback.
All reactions