We are running into issues with virtual scrolling in the kendo grid at certain numbers of total results. We have our paging set to 10 per page and I have verified that our controller on the server is serving the correct records to the grid every time. However, at certain levels of results there are exceptions being thrown from kendo.all.js. These errors are "RangeError: Maximum call stack size exceeded". I have tested in IE7-9, FF, Chrome, and Safari and the errors are thrown in each of them (though they all point to different line numbers). In fact, we can reliably produce a complete browser crash in FF and Safari by attempting to scroll up/down when the magic number of results is shown.
Here are the result totals returned and an explanation of what we observe (keep in mind, we have page size of 10 and we have pageable set to false):
Here are the result totals returned and an explanation of what we observe (keep in mind, we have page size of 10 and we have pageable set to false):
- less than 10 results = shows results as expected
- 11 results – shows console error once on first click of down scroll, but the 11th record is never shown.
- 12 results – shows console error on first two clicks of down scroll, but never shows the 11th or 12th records.
- 13 results - shows two console errors for each of first two clicks of down scroll, but never shows the 11th / 12th / 13th records.
- 14 results – shows console errors on first two clicks of down scroll and does not move the scrollbar. However, on the third and subsequent clicks, the grid starts showing the fetched records.
- 15 results - shows console errors on first two clicks of down scroll and does not move the scrollbar. On the third and subsequent clicks, the grid starts showing the fetched records.
- 17 results - shows console error on first click only of down scroll and does not move the scrollbar. On the second and subsequent clicks, the grid starts showing the fetched records.
- 18 and over results – works correctly with no errors
Anyone else seeing this behavior? This is really becoming a show stopper for us.