Load spreadJS on demand UMD Support

Posted by: Shalini89garg on 20 March 2018, 6:29 pm EST

    • Post Options:
    • Link

    Posted 20 March 2018, 6:29 pm EST

    Hi,

    I want to remove spread js refrences from angular cli .

    So wherever i need GC i am using below code

    var GC = require(‘…/lib/gc.spread.sheets.angular.11.0.0.min.js’);

    But still i am getting below error. can anyone please help on this.

    Module not found: Error: Can’t resolve ‘…/lib/gc.spread.excelio.11.0.0.min.js’

    I am using below url for refrence

    http://help.grapecity.com/spread/SpreadSheets11/webframe.html#UMDSupport.html

  • Posted 21 March 2018, 2:37 am EST

    Hello Shalini,

    Currently SpreadJS does not include UMD package. As our plan, SpreadJS V11 SP1 which will release in April will include UMD package.

    Thanks,

    Deepak Sharna

  • Posted 21 March 2018, 5:18 pm EST

    Deepak it was communicated earlier that UMD support has been released already with Spread 11 .

  • Posted 21 March 2018, 8:22 pm EST

    Hi Shalini,

    Currently, Spread.Sheets only supports the UMD (Universal Module Definition) patterns for JavaScript modules. As per the dev team our next build of SpreadJS will include UMD packages that will support lazy loading.

    Thanks,

    Deepak Sharma

Need extra support?

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

Learn More

Forum Channels