SpreadJS designer

Posted by: storm.binary on 20 January 2020, 11:36 pm EST

  • Posted 20 January 2020, 11:36 pm EST

    Hello
    Would it be possible to programmatically open, save or export files into the designer.
    Any example code?
    Thank you.
  • Replied 21 January 2020, 7:34 pm EST

    Hi,

    Yes, you may update the designer according to your requirements. To make changes programmatically, you may get the actual spread workbook instance in the handler for designer.loader.ready event. A handler for designer.loader.ready event is already added at the end of src/index/index.js file. You may update the same as follows:
    designer.loader.ready(function () {
    //To Fix the designer resize performance issues.
    $(window).unbind("resize.gcuiribbon");
    $("#verticalSplitter").show();
    updateLayout();

    // get spread workbook instance
    var spread = designer.wrapper.spread;
    // perform required operations on the spread object
    });


    Regards
    Sharad
Need extra support?

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

Learn More

Forum Channels