Open hideosnes opened 1 month ago
Do you have a "Category" column in your Google Sheet?
To debug easier, you can inspect data displayed in console with console.log('data =', data)
Yeah, I basically cloned the given example. However, in the end, switching from Firefox to Chrome solved the issue. After playing around with it, I also got it to run in FF but had to do some async voodoo 😅. Will post the solution ASAP/ as soon as I've got a minute to spare.
Strangely enough, I get the error message with my own code and with the c&p code from your example. I'm running it in VS-Code with the Live Server extension. The data console-log fires correctly, but I get "Uncaught TypeError: row.Category is undefined" in Firefox. Any ideas what might be the cause? (Edit: In Chromium there's no error message at all and it doesn't render any contents of the G-Sheet.)
`