MCPcopy Index your code
hub / github.com/UI5/webcomponents / TableColumn

Class TableColumn

packages/compat/src/TableColumn.ts:26–89  ·  view source on GitHub ↗

* @class * * ### Overview * * The `ui5-table-column` component allows to define column specific properties that are applied * when rendering the `ui5-table` component. * @constructor * @extends UI5Element * @public * @slot {Node[]} default - Defines the content of the column header * @cssp

Source from the content-addressed store, hash-verified

24 * @deprecated Deprecated as of version 2.12.0, use `@ui5/webcomponents/dist/Table.js` instead.
25 */
26@customElement({
27 tag: "ui5-table-column",
28 styles: tableColumnStyles,
29 renderer: jsxRenderer,
30 template: TableColumnTemplate,
31})
32class TableColumn extends UI5Element {
33 /**
34 * Defines the minimum table width required to display this column. By default it is always displayed.
35 *
36 * The responsive behavior of the `ui5-table` is determined by this property. As an example, by setting
37 * `minWidth` property to `400` sets the minimum width to 400 pixels, and shows this column on tablet (and desktop) but hides it on mobile.
38 *
39 * For further responsive design options, see `demandPopin` property.
40 * @default Infinity
41 * @public
42 */
43 @property({ type: Number })
44 minWidth: number = Infinity;
45
46 /**
47 * The text for the column when it pops in.
48 * @default undefined
49 * @public
50 */
51 @property()
52 popinText?: string;
53
54 /**
55 * According to your `minWidth` settings, the component can be hidden
56 * in different screen sizes.
57 *
58 * Setting this property to `true`, shows this column as pop-in instead of hiding it.
59 * @default false
60 * @public
61 */
62 @property({ type: Boolean })
63 demandPopin = false;
64
65 /**
66 * Defines how the popin row is displayed.
67 *
68 * **The available values are:**
69 *
70 * - `Block`
71 * - `Inline`
72 * @default "Block"
73 * @public
74 */
75 @property()
76 popinDisplay: `${TableColumnPopinDisplay}` = "Block";
77
78 /**
79 * @private
80 */
81 @property({ type: Boolean })
82 first = false;
83

Callers

nothing calls this directly

Calls 2

customElementFunction · 0.85
propertyFunction · 0.85

Tested by

no test coverage detected