Scroll infinite add new rows error


Good evening, I am having a problem with inserting new lines into a Grid with the infinite Scroll option activated, I add a line but when adding the second line it returns the following error.
Cannot read property 'setAttribute' of undefined

1 Reply 1 reply marked as answer

VS Vignesh Sivagnanam Syncfusion Team February 17, 2021 04:13 PM UTC

Hi diego 

Greetings from Syncfusion support 

Based on your query we suspect that you are facing script error when adding new row to the grid with infinite scroll. 

We have prepared a sample with infiniteScrolling but we did not reproduce the mentioned issue at our end. In our sample we checked the mentioned issue with inline edit mode and Infinite scrolling is not compatible with batch editing 

Please refer the below Code example and sample for your reference, 

Code example : 
<ejs-grid id="InfiniteGrid" height="600" enableInfiniteScrolling="true" toolbar="@(new List<string>() { "Add", "Edit", "Delete", "Cancel", "Update" })"> 
  <e-grid-editSettings allowAdding="true" allowDeleting="true" allowEditing="true"></e-grid-editSettings
  <e-grid-columns
    <e-grid-column field="Field1" headerText="PlayerName" width="140"></e-grid-column
    <e-grid-column field="Field2" headerText="Year" textAlign="Right" width="120"></e-grid-column
    <e-grid-column field="Field3" headerText="Stint" textAlign="Right" width="120"></e-grid-column
    <e-grid-column field="Field4" headerText="TMID" textAlign="Right" width="120"></e-grid-column
  </e-grid-columns
</ejs-grid



If you still facing the issue, Please share the below details to provide exact solution as soon as possible  

  1. Please share the full grid rendering code.
 
  1. Please explain the exact issue that you are facing in the Screenshot or Video demo.

  1. If possible, Please replicate the issue in the above sample.
 
  1. Syncfusion Package Version.

Regards 
Vignesh Sivagnanam 


Marked as answer
Loader.
Up arrow icon