This is a migrated thread and some comments may be shown as answers.

Console error when scrolling the grid after addRow()

1 Answer 209 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jiatang
Top achievements
Rank 1
Jiatang asked on 01 Jun 2016, 08:30 PM

I've a grid with scrollable: {virtual: true}. I insert a new row on top of the grid, using either .addRow() or grid.dataSource.insert(0, {});

Then I try to scroll the grid, I saw some error in the console saying:

 

<p color="red">Uncaught RangeError: Maximum call stack size exceeded</p>

 

Here is a dojo example: http://dojo.telerik.com/UCiXA/2

 

I think this error will cause some other issues. In this dojo, we can see that the values on the footer(i.e. 21 - 40 of 77 items) is not updating correctly. In my product, it will cause some paging issue, I will see the page size jumping for 10 to 5 while scrolling, and sometime performance issue that will cause slow repose.

1 Answer, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 03 Jun 2016, 09:07 AM

Hello Jiatang,

I covered the question in the ticket on the same topic. CRUD operations are not supported when virtual scrolling is used. You could find additional information here:

http://docs.telerik.com/kendo-ui/controls/data-management/grid/appearance#virtual-scrolling

Regards,
Dimiter Madjarov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Jiatang
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Share this question
or