RealGrid2 Guide
Performance
Load large data

Load bulk data

The dataset that is first displayed when creating a grid may exist as a static file on the server, or may be created and returned through a database query at the time of a URL request. The grid directly requests the server and converts the delivered Csv text into data rows and adds them to the internal dataset.

Bulk data

Load 500,000 data in csv format. RealGrid has no row limit. However, since data can be processed within the browser's operating memory range,
If the size of the loaded data is large, the available memory of the browser decreases, so although it may vary depending on the individual usage environment, it is necessary to load a large amount of data multiple times.
If imported, it may cause performance degradation or unresponsive errors due to browser memory pooling.

Processing large amounts of data is not just a client problem; it is also important whether the server can handle large queries.
The amount may need to be limited depending on the nature and circumstances of the project.

document.getElementById("btnLargeLoadData").disabled = true;
if(document.getElementById("showProgressbar").checked){
     gridView.showLoading();
}
 
var now = new Date();
$.ajax({
     url: "/data/TooLargeDataSet.csv",
     success: function (data) {
         dataProvider.fillCsvData(data, {});
         gridView.closeLoading();
 
         var endDate = new Date();
         var dataTime = endDate.getTime() - now.getTime();
         document.getElementById("ellapse").innerHTML = dataProvider.getRowCount() + "Time spent on output: " + dataTime + " ms";
     },
     error: function (xhr, status, error) {
     },
     complete: function (data) {
 
     },
     xhr: function () {
         var xhr = new window.XMLHttpRequest();
         return xhr;
     }
});