@openui5/sap.m
Version:
OpenUI5 UI Library sap.m
90 lines (79 loc) • 2.04 kB
JavaScript
/*!
* OpenUI5
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
// Provides control sap.m.P13nColumnsItem.
sap.ui.define([
'./library', 'sap/ui/core/Item'
], function(library, Item) {
"use strict";
/**
* Constructor for a new P13nColumnsItem.
*
* @param {string} [sId] ID for the new control, generated automatically if no ID is given
* @param {object} [mSettings] initial settings for the new control
* @class Type for <code>columnsItems</code> aggregation in <code>P13nColumnsPanel</code> control.
* @extends sap.ui.core.Item
* @version 1.146.0
* @constructor
* @author SAP SE
* @public
* @since 1.26.0
* @alias sap.m.P13nColumnsItem
* @deprecated As of 1.120, replaced by the artifacts in {@link sap.m.p13n}.
*/
var P13nColumnsItem = Item.extend("sap.m.P13nColumnsItem", /** @lends sap.m.P13nColumnsItem.prototype */
{
metadata: {
library: "sap.m",
properties: {
/**
* This property contains the unique table column key
*
* @since 1.26.0
*/
columnKey: {
type: "string",
group: "Misc"
}, // don't set a default value
/**
* This property contains the index of a table column
*
* @since 1.26.0
*/
index: {
type: "int",
group: "Appearance"
}, // don't set a default value
/**
* This property decides whether a <code>P13nColumnsItem</code> is visible
*
* @since 1.26.0
*/
visible: {
type: "boolean",
group: "Appearance"
}, // don't set a default value
/**
* This property contains the with of a table column.
*
* @since 1.26.0
*/
width: {
type: "string",
group: "Misc"
}, // don't set a default value
/**
* This property contains the total flag of a table column.
*
* @since 1.26.0
*/
total: {
type: "boolean"
}
}
}
});
return P13nColumnsItem;
});