startTransaction add sheet error

Posted by: 122368177 on 28 July 2020, 10:52 pm EST

  • Posted 28 July 2020, 10:52 pm EST

    Binding event sheetChanging and emit ‘insertSheet’ command,

    then execute startTransaction(context,{sheetName:‘sheetN’}), beacuse ‘sheetN’ is not existed.

    occur error log:

    Cannot read property ‘ITa’ of null

    Is it a bug?

    Maybe I should emit add sheet by sheetChanged and emit delete sheet by sheetChanging.

    Also I test startTransaction options not has sheetName property ,it’s work.

  • Posted 29 July 2020, 9:20 am EST

    Hi,

    We are sorry but we not able to understand the exact issue you facing. Could you please explain more about the issue you are facing? Also, please share a small sample to replicate the issue.

    Regards

  • Posted 30 July 2020, 4:49 am EST

    
    	 const Commands = GC.Spread.Sheets.Commands
             Commands.startTransaction(context,{sheetName:' sheet name is not exist'})
    
    

    occur error log :

    execute operation error TypeError: Cannot read property ‘ITa’ of null

  • Posted 31 July 2020, 9:17 am EST

    We are sorry but we are still unable to understand the issue. Please provide more information about issues like when is the code shown in code snippet execute, what are you trying to achieve, etc? Also please share a small sample that replicates the issue for better understanding.

Need extra support?

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

Learn More

Forum Channels