ActiveSheetChanged/ActiveSheetChanging not get triggered on sheet deletion

Posted by: davide.vago on 12 August 2021, 6:53 am EST

  • Posted 12 August 2021, 6:53 am EST

    Dear support,

    Given a Workbook with 2 sheets, it seems like the library doesn’t fire ActiveSheetChanged, ActiveSheetChanging events when the user deletes one of the 2 sheets (effectively changing the view to the only remaining sheet).

    Would you be able to look into it and eventually provide some fix?

  • Posted 13 August 2021, 5:38 am EST

    Hi Davide,

    We are able to replicate the issue at our end hence we have forwarded it to the concerned team for further investigation. We will update you once we get any information. The internal ID for this issue will be SJS-9676.

    Meanwhile, You may use the sheet changed. Please refer to the following code snippet and let us know if you face any issues.

    
    spread.bind("SheetChanged", (e, args) => {
        console.log("SheetChanged");
      });
    
    

    API References:

    SheetChanged: https://www.grapecity.com/spreadjs/docs/v14/online/SpreadJS~GC.Spread.Sheets.Events~SheetChanged_EV.html

    Regards,

    Avinash

Need extra support?

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

Learn More

Forum Channels