This event would request kyvos to delete an existing worksheet.
Interface
{"msgId": "",
"msgName": "kyvos.viewer.deleteWorksheet", "payload": {
"workSheetId": "",
"workSheetName": "", "showConfirmation": true
}}
Points to Consider
- Kyvos will delete the worksheet with the provided details i.e. either worksheetId or worksheetName should exist in currently opened workbook.
- showConfirmation take either true or false value, if it is true then a confirmation box will be shown before deleting if value is false then kyvos will delete the worksheet directly
- if no worksheetId or worksheetName is provided then currently opened worksheet is deleted.
Example
{"msgId": "16913393120795127065078125396110",
"msgName": "kyvos.viewer.deleteWorksheet", "payload": {
"workSheetId": "Sheet16913391345058127065016175385373",
"workSheetName": "", "showConfirmation": true
}}