Workbook destroy() method doesn't dispose StatusBar/FormulaBar components

Posted by: davide.vago on 19 May 2020, 2:00 am EST

    • Post Options:
    • Link

    Posted 19 May 2020, 2:00 am EST

    Good morning/afternoon

    I’m currently looking at some option to wipe out completely a workBook instance which contains a formulaBar and a statusBar without reloading the page.

    Unfortunately, it appears that the destroy() method of the WorkBook doesn’t remove the gc-statusbar and gc-statusbar-menu-host elements.

    I’ve tried to find some reference within the documentation but there is nothing I can use.

    Note: the dispose() method which is hidden within the GC.Spread.Sheets.StatusBar doesn’t serve the purpose.

  • Posted 20 May 2020, 1:32 am EST

    Hi,

    Destroy method for workbook isn’t supposed to destory the statusBar and FormulaTextBox, SJS provides separate methods for destroying the workbook, statusbar, and formula TextBox.

    We are able to replicate the issue in statusBar.dispose() and formulaTextBox.destroy() methods at our end hence we have forwarded this issue to the concerned team for further investigation, we will update you once we have updates from the DEV team.

    SJS-4403 is the Internal Tracking ID for this issue.

    Regards

    Sharad

  • Posted 25 June 2020, 4:12 pm EST

    Hi,

    This issue is now fixed in our latest release 13.1.4. Please update to the latest build and let us know if you face any issues. You may get the latest version from npm or download using the following link:

    http://cdn.grapecity.com/spreadjs/13.1.4/Files/SpreadJS.Release.13.1.4.zip

    Regards

  • Posted 30 June 2020, 12:04 am EST

    Hi Sharad,

    This issue seems to be solved, however, my company can’t implement this release as our application is stuck with the already flagged issue: https://www.grapecity.com/forums/spread-sheets/statusbar-countminmax-fns-

    Until the above gets solved we are stuck on 13.0.7

    Thanks for the support.

Need extra support?

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

Learn More

Forum Channels