Add Rows 3 Times Make Browser Hang

Posted by: vince_chen on 23 July 2021, 2:28 am EST

    • Post Options:
    • Link

    Posted 23 July 2021, 2:28 am EST

    Dear All:

    I only use follwing code to add rows 3 times.
    spread.suspendPaint();
    spread.suspendEvent();
    sheet.addRows(1, 1);
    spread.resumeEvent();
        spread.resumePaint();
    
    the browser (Firefox/Edge) will hang.
    
    Does any one have any idea?
    The sheet has 50 rows of data (15 coluns) already.
    
    Thanks.
    
  • Posted 26 July 2021, 8:10 am EST

    Hi,

    We are sorry but we are unable to replicate the issue at our end, Could you please share a small sample that replicates the issue so that we could investigate it further and assist you accordingly. You may also refer to the following sample that we used for testing and modify it to replicate the issue.

    sample: https://codesandbox.io/s/long-sun-srlc3

    Regards

    Avinash

  • Posted 20 October 2021, 6:45 pm EST

    Thanks for your answer.

    it seems due to I use model bind in spread.

    Could you try this case?

    And I encounter another issues.

    I use model bind column in sheet and customize the header.

    When I copy data from Micro Excel to oaste my sheet or copy more than certain numbers of row data from my sheet and paste it.

    It will hangs again.

    It seems due to the model bind column?

    I will provide a screen recored video later.

    Thanks

  • Posted 21 October 2021, 1:15 am EST

    Hi,

    We are sorry but we are still unable to replicate the issue at our end. Could please share a small working sample that replicates the issue so that we could investigate it further and help you accoridngly.

    You may also check the following sample that we use for testing and modify it to replicate the issue.

    sample: https://codesandbox.io/s/dreamy-roman-9ssp0?file=/src/app/app.component.ts

    regards,

    Avinash

  • Posted 21 October 2021, 5:34 am EST

    Thanks so much.

    I will try the case ASAP.

Need extra support?

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

Learn More

Forum Channels