Grid spinner hang

I have a grid that I've cleaned up and made it as simple as possible. 

  1. simple grid with 3 columns defined and add/edit/delete enabled. No datasource added or defined.
  2. data is loaded via a Javascript function, that updates the grid's dataSource. 
  3. The grid shows the data. It is able to load different kinds of data aswell. (data is loaded based on another dropdown for calendar month, that executes the JS function to load data)
  4. When I add a new row, the grid just locks up with spinner. No actionBegin or actionComplete is defined/used. 
  5. Editing works fine. If the grid is empty or data is not loaded into the grid, add new row works fine. 

Edit:
I've ruled out any primaryKey issue, I tried unique ID values, but the grid locks up. 
if I reload the data (update the dataSource), the grid updates with reloaded data, but spinner is still there and locked up grid. 
tried .refresh() / .endEdit() / args.cancel = true ... and different combinations. 

1 Reply

AR Aishwarya Rameshbabu Syncfusion Team October 20, 2024 08:30 AM UTC

Hi Satwinder Singh,


Greetings from Syncfusion support.


To address the issue, you are facing with adding of records in the Syncfusion Grid, we require additional information to offer an optimal solution. Kindly provide the following details:

1. Please share the complete grid rendering code, including the event handler functions and the templates utilized.

2. Since you mentioned that the grid data is being updated dynamically, please provide the code snippets showing how data binding to the grid is managed, specifically the JavaScript function handling this process.

3. Specify the type of data binding used in the grid—whether it is remote or local. If remote data binding is used, please detail the adaptor being employed.

4. Provide a video demonstration illustrating the scenarios where you encounter the spinner loading issue in the grid.

5. Indicate the current version of the Syncfusion package you are using.

Providing these details will greatly aid us in validating the issue and furnishing a more appropriate solution.


Regards

Aishwarya R


Loader.
Up arrow icon