Detect Table creation/deletion with events

Posted by: jeff on 8 November 2019, 10:52 am EST

  • Posted 8 November 2019, 10:52 am EST

    Where are the events for table creation/deletion?

    By Table I mean:
    https://help.grapecity.com/spread/SpreadJSWeb/JavascriptLibrary~GcSpread.Sheets.Sheet~addTable.html
  • Replied 10 November 2019, 7:39 pm EST

    Hi Jeff,
    The table does not any event handler for this.
    However, since the table is added/removed by code, hence the table creation and deletion can be detected and logged using code as the add/ remove method is called.

    Regards,
    Manish Gupta
  • Replied 11 November 2019, 12:22 pm EST

    A user can highlight a whole table and press the delete key. This deletes the table. Hence I need an event handler.
  • Replied 12 November 2019, 4:29 pm EST

    Hi Jeff,

    Thank you for the additional information. We could confirm that currently there is no event prevent to handle this scenario and hence we have created an enhancement request to add events for table deletion. Internal tracking Id for the issue is SJS-2571.
    Further, could you please explain some more about your use case that why you need to handle table deletion? That would help us to better understand the scenario.

    Regards
    Sharad
Need extra support?

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

Learn More

Forum Channels