Your search did not match any results.
Data Grid

Remote Virtual Scrolling

With remote virtual scrolling, pages are loaded from the server when they enter the viewport. To enable this feature, set the scrolling.mode option to "virtual" and the remoteOperations option to true. The latter informs the widget that the server handles paging.

In this demo, the server contains 1,000,000 records and returns 100 records per page. The page size is set using the paging.pageSize option. The larger it is, the fewer requests are sent to the server. To reduce the time required for rendering the loaded rows, set the scrolling.rowRenderingMode to "virtual" — the DataGrid renders only rows that are in the viewport.

Copy to CodePen
var DemoApp = angular.module('DemoApp', ['dx']); DemoApp.controller('DemoController', function DemoController($scope) { $scope.dataGridOptions = { dataSource:{ key: "Id", loadUrl: "" }), remoteOperations: true, scrolling: { mode: "virtual", rowRenderingMode: "virtual" }, paging: { pageSize: 100 }, headerFilter: { visible: true, allowSearch: true }, wordWrapEnabled: true, showBorders: true, columns: [{ dataField: "Id", width: 75 }, { caption: "Store", dataField: "StoreName", width: 150 }, { caption: "Category", dataField: "ProductCategoryName", width: 120 }, { caption: "Product", dataField: "ProductName" }, { caption: "Date", dataField: "DateKey", dataType: "date", format: "yyyy-MM-dd", width: 100 }, { caption: "Amount", dataField: "SalesAmount", format: "currency", headerFilter: { groupInterval: 1000 }, width: 100 }] }; });
<!DOCTYPE html> <html xmlns="" > <head> <title>DevExtreme Demo</title> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" /> <script src=""></script> <script>window.jQuery || document.write(decodeURIComponent('%3Cscript src="js/jquery.min.js"%3E%3C/script%3E'))</script> <link rel="stylesheet" type="text/css" href="" /> <link rel="stylesheet" type="text/css" href="" /> <script src=""></script> <script>window.angular || document.write(decodeURIComponent('%3Cscript src="js/angular.min.js"%3E%3C\/script%3E'))</script> <script src=""></script> <script src=""></script> <link rel="stylesheet" type="text/css" href="styles.css" /> <script src="index.js"></script> </head> <body class="dx-viewport"> <div class="demo-container" ng-app="DemoApp" ng-controller="DemoController"> <div id="gridContainer" dx-data-grid="dataGridOptions"></div> </div> </body> </html>
#gridContainer { height: 440px; }