Loading Image on Combobox

Posted by: rpatel on 11 December 2019, 8:51 am EST

  • Posted 11 December 2019, 8:51 am EST

    Hi,

    I need to show a loading image on a combo box cell type while fetching data from the server request. currently what’s is happening that complete form is stuck and seems like it’s hanged. After investigation, I found that maybe because of spread.suspendPaint() method we can’t show any changes on browser form.

    Regards,

    Ravish Patel

  • Posted 12 December 2019, 1:29 am EST

    Hi Ravish,

    SpreadJS’s default ComboBox cell type does not support fetching data from the server. Could you please confirm if you are using some 3rd party control as custom editor which supports async data or have you written some custom logic to make the combobox support async data. If yes, could you please share a small sample of your implementation so that we could investigate the root cause of the issue.

    After investigation, I found that maybe because of spread.suspendPaint() method we can’t show any changes on browser form.

    Yes, suspendPaint() stops the spread from making repainting the spreadsheet to show changes. To start repainting the sheet we need to call the spread.resumePaint() method.

    Regards

    Sharad

Need extra support?

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

Learn More

Forum Channels