Closed JohnPatrickOshaughnessy closed 8 months ago
Hello, Any update on this? I'm still getting the nested headers issue with the latest code.
That is already published on the NPM.
Hi there,
I’m not sure what you mean by “That is already published on the NPM” I am still getting the same error using the sample code I posted in the issue and this is stopping me from using the latest jspreadsheet library.
Am I doing something wrong in the sample code or is there a more recent library I need to use?
John
On 11 Feb 2024, at 16:15, HW @.***> wrote:
That is already published on the NPM.
— Reply to this email directly, view it on GitHub https://github.com/jspreadsheet/pro/issues/313#issuecomment-1937797965, or unsubscribe https://github.com/notifications/unsubscribe-auth/BC2BNWR2OA5BVPBHVN7ONVDYTDVBTAVCNFSM6AAAAABCQ73G4KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZXG44TOOJWGU. You are receiving this because you authored the thread.
Here is a working example. https://jsfiddle.net/fgu42a9y/7/
Ok thanks for that,
I can see that the Fiddle works. By experimenting I can see that the code that is causing the problem is ' url: '/jspreadsheet/countries’
in the first column definition, with that line the error occurs, removing it stops the error. This should work fine for my case but it does seem strange that the example column config at https://jspreadsheet.com/docs/nested-headers contains the problem line.
John
On 14 Feb 2024, at 19:37, HW @.***> wrote:
Here is a working example. https://jsfiddle.net/fgu42a9y/7/
— Reply to this email directly, view it on GitHub https://github.com/jspreadsheet/pro/issues/313#issuecomment-1944468633, or unsubscribe https://github.com/notifications/unsubscribe-auth/BC2BNWRFS6ACOCPLGTQP6NTYTUG6DAVCNFSM6AAAAABCQ73G4KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBUGQ3DQNRTGM. You are receiving this because you authored the thread.
This issue started this morning after linking to the latest version of jspreadsheet Pro. When I use sheet.setNestedHeaders I get the following error:
TypeError: undefined is not an object (evaluating 'this[a(643)][a(1220)]')
Screenshot
I am able to replicate it using a slightly customized example code from https://jspreadsheet.com/docs/nested-headers.
Until aboout 18:00 GMT last night things were working fine then this happened this morning, perhaps there has been an update?
Here is the sample code: