@openui5/sap.m
Version:
OpenUI5 UI Library sap.m
28 lines (26 loc) • 531 B
JavaScript
/*!
* OpenUI5
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
sap.ui.define([
"sap/ui/dt/ElementUtil"
], function (Utils) {
"use strict";
return {
isVisible: function(oColumn) {
return oColumn.getVisible();
},
actions: {
remove: {
changeType: "hideControl"
},
reveal: {
changeType: "unhideControl",
getLabel: function(oControl) {
return Utils.getLabelForElement(oControl.getHeader());
}
}
}
};
});