fromJson function is throwing error on upgrading SpreadJs version to 15.0.0

Posted by: pramodhkomatireddy on 22 April 2022, 10:37 am EST

  • Posted 22 April 2022, 10:37 am EST - Updated 3 October 2022, 9:19 am EST

    Hi Team,

    On upgrading SpreadJS version to 15.0.0 from 13.2.0, error is being thrown as ‘Can not read properties of undefined(reading ‘do’)’ at fromJson.

    I have updated spreadExcel to ExcelIO in 15.0.0

    Below is out code snippet.

    const spreadNS = GC.Spread.Sheets;

    spread = new spreadNS.Workbook(document.getElementById(‘ss’), {sheetCount: 8});

    spread.fromJSON(JSON.parse(json));

    Please help us on resolving this issue.

    Thanks

    Pramodh

  • Posted 25 April 2022, 12:05 am EST

    Hi Pramodh,

    We are sorry but we are unable to replicate the issue on our end. Could you please share a working sample (also the JSON that you are loading) that replicates the issue so that we could investigate it further and help you accordingly?

    Regards,

    Avinash

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels