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

Class Table

packages/compat/src/Table.ts:174–1196  ·  view source on GitHub ↗

* @class * * ### Overview * * The `ui5-table` component provides a set of sophisticated and convenient functions for responsive table design. * It provides a comprehensive set of features for displaying and dealing with vast amounts of data. * * To render the `Table` properly, the order of th

Source from the content-addressed store, hash-verified

172 * @deprecated Deprecated as of version 2.12.0, use `@ui5/webcomponents/dist/Table.js` instead.
173 */
174@customElement({
175 tag: "ui5-table",
176 fastNavigation: true,
177 styles: tableStyles,
178 renderer: jsxRenderer,
179 template: TableTemplate,
180})
181/** Fired when a row in `Active` mode is clicked or `Enter` key is pressed.
182 * @param {HTMLElement} row the activated row.
183 * @public
184 */
185@event("row-click", {
186 bubbles: true,
187})
188
189/**
190 * Fired when `ui5-table-column` is shown as a pop-in instead of hiding it.
191 * @param {Array} poppedColumns popped-in columns.
192 * @since 2.0.0
193 * @public
194 */
195@event("popin-change", {
196 bubbles: true,
197})
198
199/**
200 * Fired when the user presses the `More` button or scrolls to the table's end.
201 *
202 * **Note:** The event will be fired if `growing` is set to `Button` or `Scroll`.
203 * @public
204 * @since 2.0.0
205 */
206@event("load-more", {
207 bubbles: true,
208})
209
210/**
211 * Fired when selection is changed by user interaction
212 * in `SingleSelect` and `MultiSelect` modes.
213 * @param {Array} selectedRows An array of the selected rows.
214 * @param {Array} previouslySelectedRows An array of the previously selected rows.
215 * @public
216 * @since 2.0.0
217 */
218@event("selection-change", {
219 bubbles: true,
220})
221class Table extends UI5Element {
222 eventDetails!: {
223 "row-click": TableRowClickEventDetail,
224 "popin-change": TablePopinChangeEventDetail,
225 "load-more": void,
226 "selection-change": TableSelectionChangeEventDetail,
227 }
228
229 /**
230 * Defines the text that will be displayed when there is no data and `hideNoData` is not present.
231 * @default undefined

Callers

nothing calls this directly

Calls 5

customElementFunction · 0.85
propertyFunction · 0.85
i18nFunction · 0.85
eventFunction · 0.50
slotFunction · 0.50

Tested by

no test coverage detected