Merge feature/improve_nm_performance changes in

This commit is contained in:
nathangray
2020-03-11 10:56:51 -06:00
parent 458a40c792
commit b8c6d52d29
8 changed files with 152 additions and 101 deletions

View File

@ -380,10 +380,12 @@ var et2_dataview = /** @class */ (function () {
*/
et2_dataview.prototype._buildGrid = function () {
// Create the collection of column ids
var colIds = new Array(this.columns.length);
var colIds = [];
for (var i = 0; i < this.columns.length; i++) {
colIds[i] = this.columns[i].id;
}
if (this.columns[i].visible) {
colIds[i] = this.columns[i].id;
}
}
// Create the row provider
if (this.rowProvider) {
this.rowProvider.destroy();