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

@ -534,14 +534,17 @@ export class et2_dataview
private _buildGrid()
{
// 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)
if(this.rowProvider)
{
this.rowProvider.destroy();
}