The libraries provided by OpenUI5 contain various different table controls that are suitable for different use cases. The table below outlines which table controls are available, and what features are supported by each one.
Overview of Tables and Supported Features
Responsive Table [\(sap.m.Table\)](https://ui5.sap.com/#/api/sap.m.Table) | Grid Table [\(sap.ui.table.Table\)](https://ui5.sap.com/#/api/sap.ui.table.Table) | Analytical Table [\(sap.ui.table.AnalyticalTable\)](https://ui5.sap.com/#/api/sap.ui.table.AnalyticalTable) | Tree Table [\(sap.ui.table.TreeTable\)](https://ui5.sap.com/#/api/sap.ui.table.TreeTable) | |
---|---|---|---|---|
Desktop |  |  |  |  |
Tablet |  |  |  |  |
Phone |  |  |  |  |
Responsive \(hide column, popin support\) |  |  |  |  |
Compact density |  |  |  |  |
Condensed density |  |  |  |  |
Cozy density |  |  |  |  |
Summarized cell |  |  |  |  |
Hierarchical data |  |  |  |  |
Large number of rows \(\> 200\)2 |  |  |  |  |
Grouping |  |  |  |  |
Freeze columns |  |  |  |  |
Horizontal scrolling |  |  |  |  |
Merge duplicates |  |  |  |  |
Supported controls | Supports all kinds of controls inside a line item | Supports a limited set of controls1 | Supports a limited set of controls1 | Supports a limited set of controls1 |
Row-based |  |  |  |  |
Column-based |  |  |  |  |
Cell selection |  |  |  |  |
Legend:
: Feature is supported for this table type
: Feature is not supported for this table type
1) Text
, Label
, ObjectStatus
, Icon
, Button
, Input
, DatePicker
, Select
, ComboBox
, MultiComboBox
, CheckBox
, Link
, Currency
, RatingIndicator
, ProgressIndicator
; To keep the control height always stable, the wrapping
and renderWhitespace
properties in the sap.m.Text
control, for example, must be set to false
. For more information, search for cell level in the SAP Fiori Design Guidelines.
2) To optimize perfomance, we recommend to show no more than 200 items at once in the responsive table. For a larger number of items (up to 1000), use the growing feature to limit the number of displayed items and make sure the user can filter the data. For more information, see the API Reference for the growing* properties.
Caution:
The limits mentioned are only recommendations. For a specific app context, the actual number of manageable items might be higher or lower.
The actual limits depend on what your scenario looks like, for example:
The number of rows in the table
The number of columns that are visible
The complexity of the cell content and/or the page (for example, multiple pages in a flexible column layout, or depending on how much binding is done)
The browser being used
For more information, search for loading items and performance in the responsive table section in the SAP Fiori Design Guidelines.
sap.ui.mdc
)The Table
control is a metadata-driven control. All attributes mentioned in the table above depend on which type
aggregation is used for Table
. The use of certain types of tables, for example, tree table and analytical table, depends on the delegate implementation and on which SAPUI5 model is used.