How to stop loader when calling saveAsJson() in spreadsheet?

Hi Team,

Whenever saveAsJson() calling inside reactjs code then loader is appearing and looks disturbing the user to enter the data. Because, we applied auto save logic and calling every 5 seconds to get the data from sheet and saving that into our db.

Please suggest how to stop loader while calling saveAsJson() ? or do you have any method to get updated code when user do any actions inside spreadsheet? 

1 Reply

SD Saranya Dhayalan Syncfusion Team October 20, 2020 01:55 PM UTC

Hi Arul Lakshmanan, 
 
Thank you for contacting Syncfusion support 
 
We have checked your reported query, we are not able to reproduce it in our end. Please find the below code snippet: 
 
componentDidMount() { 
            this.interval = setInterval(() => { 
                this.spreadsheet.saveAsJson().then(Json => (this.response = Json)); 
            }, 5000); 
        } 
 
For your convenience, we have prepared a sample & video. Please find the below sample & video link 
 
 
  
We would like to let you know the following details 
 
1.       Please provide any other customization done in the sample level. 
2.       If possible, please provide your issue reproducible sample. 
3.       Please share us the video demonstration of this issue.  
4.       If possible, please share the code snippets. 
 
Please provide the above requested information, based on that we will check and provide you a better solution quickly. 
 
Regards, 
Saranya D 


Loader.
Up arrow icon