Api: Nextmatch - Do not generate DOM nodes for hidden columns

This commit is contained in:
nathangray
2019-11-26 11:59:24 -07:00
parent f3b11295b0
commit 0f3a1660ff
4 changed files with 38 additions and 12 deletions

View File

@ -493,10 +493,13 @@ var et2_dataview = (function(){ "use strict"; return Class.extend({
*/
_buildGrid: function() {
// Create the collection of column ids
var colIds = new Array(this.columns.length);
var colIds = new Array();
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