UNPKG

@ui5/webcomponents-react

Version:

React Wrapper for UI5 Web Components and additional components

35 lines 1.66 kB
/** * Defines how the AnalyticalTable will render visible rows. * * __Note:__ When `"Auto"` is enabled, we recommend to use a fixed height for the outer container. */ export let AnalyticalTableVisibleRowCountMode = /*#__PURE__*/function (AnalyticalTableVisibleRowCountMode) { /** * The number of visible rows displayed is defined by the `visibleRows` prop. If the prop is not set, 15 rows will be shown. */ AnalyticalTableVisibleRowCountMode["Fixed"] = "Fixed"; /** * The number of visible rows depends on the height of the surrounding container. Since this mode can cause the table height to change when filtering, fetching data, etc., we recommend using the `"AutoWithEmptyRows"` mode instead. * * __Note:__ It's recommended to use a fixed height for the outer container. * * __Note:__ When this is active, `visibleRows` prop has no effect. */ AnalyticalTableVisibleRowCountMode["Auto"] = "Auto"; /** * The number of rows displayed depends on the height of the surrounding container, if not enough visible rows are available, empty rows are displayed. * * __Note:__ It's recommended to use a fixed height for the outer container. * * __Note:__ When this is active, `visibleRows` prop has no effect. * * @since 1.24.0 */ AnalyticalTableVisibleRowCountMode["AutoWithEmptyRows"] = "AutoWithEmptyRows"; /** * Adds a resizer to the bottom of the table to dynamically add or remove visible rows. * The initial number of rows is defined by the `visibleRows` prop. */ AnalyticalTableVisibleRowCountMode["Interactive"] = "Interactive"; return AnalyticalTableVisibleRowCountMode; }({});