{"id":2504,"date":"2022-08-30T15:25:25","date_gmt":"2022-08-30T15:25:25","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/01\/27\/web-browser-crashed-when-scrolling-the-virtualization-grid-after-adding-a-new-row-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:25:25","modified_gmt":"2022-08-30T15:25:25","slug":"web-browser-crashed-when-scrolling-the-virtualization-grid-after-adding-a-new-row-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/web-browser-crashed-when-scrolling-the-virtualization-grid-after-adding-a-new-row-collection-of-common-programming-errors\/","title":{"rendered":"web browser crashed when scrolling the virtualization grid after adding a new row-Collection of common programming errors"},"content":{"rendered":"<p>Try to build up at this fiddle: http:\/\/jsfiddle.net\/vojtiik\/rDPBu\/3\/<\/p>\n<pre><code>var grid = $('#grid').kendoGrid({\n    height: 300,\n    dataSource: {\n        data: [\n               {check: 1,ip: \"10.1.201.3\"},\n               {check: 2,ip: \"10.1.201.3\"},\n               {check: 3,ip: \"10.1.201.3\"},\n               {check: 4,ip: \"10.1.201.3\"},\n               {check: 5,ip: \"10.1.201.3\"},\n               {check: 6,ip: \"10.1.201.3\"},\n               {check: 7,ip: \"10.1.201.3\"},\n               {check: 8,ip: \"10.1.201.3\"}\n              ],\n        schema: {\n            model: {\n                id: \"check\",\n                ip: \"ip\"\n            }\n        }\n    },\n   columns: [\n               { field: \"check\" },\n               { field: \"ip\" }\n              ],\n   editable: true,\n     scrollable: {\n            virtual: true\n        }\n}).data('kendoGrid');\n\n$('#add').click(function () {\n    grid.addRow();\n});\n<\/code><\/pre>\n<p><strong>EDIT :<\/strong><\/p>\n<p>Answer from Kendo support :<\/p>\n<p>Adding new elements to a grid with virtual scrolling enabled is not a supported setup. Please keep in mind that you can always submit it in our feedback forum, so it can be taken into consideration for our future releases.<\/p>\n<p id=\"rop\"><small>Originally posted 2014-01-27 08:40:09. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>Try to build up at this fiddle: http:\/\/jsfiddle.net\/vojtiik\/rDPBu\/3\/ var grid = $(&#8216;#grid&#8217;).kendoGrid({ height: 300, dataSource: { data: [ {check: 1,ip: &#8220;10.1.201.3&#8221;}, {check: 2,ip: &#8220;10.1.201.3&#8221;}, {check: 3,ip: &#8220;10.1.201.3&#8221;}, {check: 4,ip: &#8220;10.1.201.3&#8221;}, {check: 5,ip: &#8220;10.1.201.3&#8221;}, {check: 6,ip: &#8220;10.1.201.3&#8221;}, {check: 7,ip: &#8220;10.1.201.3&#8221;}, {check: 8,ip: &#8220;10.1.201.3&#8221;} ], schema: { model: { id: &#8220;check&#8221;, ip: &#8220;ip&#8221; } } }, columns: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2504","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2504","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2504"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2504\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2504"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2504"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2504"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}