spinner is not working as excepted . this is prodution(high priority)issue

Hi team,

i am working spinner .i have done coding for spinner but its not  working as excepted. Please arrange meeting  tomorrow as early as possible

ngAfterViewInit() {

    //createSpinner() method is used to create spinner

    createSpinner({

      // Specify the target for the spinner to show


      target: document.getElementById('grid')



    });

    alert("in create spinner");


    // showSpinner() will make the spinner visible

    showSpinner(document.getElementById('grid'));


    //setInterval(function () {

      // hideSpinner() method used hide spinner

      alert("in hide spinner");

      hideSpinner(document.getElementById('grid'));

    //}, 100000);

    this.grid.hideSpinner = () => true;




3 Replies

BS Buvana Sathasivam Syncfusion Team June 9, 2022 01:11 PM UTC

Hi Mahendra,


Greetings from Syncfusion support.


In your shared code, you suddenly hide the Spinner component, where you usually show the Spinner component without performing any operations. You need to perform some actions in between the show or hide the Spinner component. So, until the spinner is visible based on action completing time. We suggest providing some time to display the Spinner component and hiding it using the hideSpinner public method. Please find the below code and sample for your reference.


setInterval(function () {

      hideSpinner(document.getElementById('container'));

    }, 1000);



Sample: https://stackblitz.com/edit/angular-f5ab3a-4tt5fk?file=app.component.html,app.component.ts


Can you please let us know if you are using a Grid component Spinner methods or a separate Spinner component?


Regards,

Buvana S



MV mahendra venkatrao manale June 9, 2022 03:24 PM UTC

we tried in different cases but its not working. sometime its showing two spinner. one spinner hides after sometime but second one continues to roll. i have shared only one case with you. i have tried different ways but its not working properly.

kindly arrange meeting because its very important as it is very high priority issue



PR Padmini Ramamurthy Syncfusion Team June 10, 2022 10:17 AM UTC

Hi Mahendra Venkatrao,


We have created a BoldDesk support ticket under your account. Please follow that for further updates.


Regards,

Padmini


Loader.
Up arrow icon