src/sap.ui.support/src/sap/ui/support/supportRules/ui/controllers/Analysis.controller.js
function (aColumnsIds, bVisibilityValue) {
			var aColumns = this.treeTable.getColumns();

			aColumns.forEach(function(oColumn) {
				oColumn.setVisible(!bVisibilityValue);
				aColumnsIds.forEach(function(sRuleId) {
					if (oColumn.sId.includes(sRuleId)) {
						oColumn.setVisible(bVisibilityValue);
					}
				});
			});
		}
function (aColumnsIds, bVisibilityValue) {
			var aColumns = this.treeTable.getColumns();

			aColumns.forEach(function(oColumn) {
				oColumn.setVisible(!bVisibilityValue);
				aColumnsIds.forEach(function(sRuleId) {
					if (oColumn.sId.includes(sRuleId)) {
						oColumn.setVisible(bVisibilityValue);
					}
				});
			});
		}
function ( aColumnsIds , bVisibilityValue ) { var aColumns = this . treeTable . getColumns ( ) ; aColumns . forEach ( function ( oColumn ) { oColumn . setVisible ( ! bVisibilityValue ) ; aColumnsIds . forEach ( function ( sRuleId ) { if ( oColumn . sId . includes ( sRuleId ) ) { oColumn . setVisible ( bVisibilityValue ) ; } } ) ; } ) ; }
Sets visibility to columns.
@param {Array} aColumnsIds Ids of columns
@param {boolean} bVisibilityValue
Sets visibility to columns .