_loop = function _loop(i) {
                  var underColumns = allColumns.filter(function (col) {
                    return col.fieldIndex === i;
                  });
                  var column = underColumns[underColumns.length - 1];
                  if (underColumns.length > 1) {
                    for (var j = 0; j < underColumns.length - 1; j++) {
                      underColumns[j].visible = column.visible;
                    }
                  }
                  if (column.visible) {
                    colspan++;
                  }
                }
Assigns new icons to icons object.

@param {Object.<string, Object>} icons - The icons object.
@param {string} icon - The icon name. For example, 'search', 'refresh', etc.
@param {Object.<string, string>} values - The values object.