docs

Tables: Which One Should I Choose?

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 ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif) ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif) ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif) ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif)
Tablet ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif) ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif) ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif) ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif)
Phone ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif) ![No](/docs/02_Read-Me-First/images/loio5befb5af20ed42fd9052a99014d953a3_LowRes.gif) ![No](/docs/02_Read-Me-First/images/loio5befb5af20ed42fd9052a99014d953a3_LowRes.gif) ![No](/docs/02_Read-Me-First/images/loio5befb5af20ed42fd9052a99014d953a3_LowRes.gif)
Responsive \(hide column, popin support\) ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif) ![No](/docs/02_Read-Me-First/images/loio5befb5af20ed42fd9052a99014d953a3_LowRes.gif) ![No](/docs/02_Read-Me-First/images/loio5befb5af20ed42fd9052a99014d953a3_LowRes.gif) ![No](/docs/02_Read-Me-First/images/loio5befb5af20ed42fd9052a99014d953a3_LowRes.gif)
Compact density ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif) ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif) ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif) ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif)
Condensed density ![No](/docs/02_Read-Me-First/images/loio5befb5af20ed42fd9052a99014d953a3_LowRes.gif) ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif) ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif) ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif)
Cozy density ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif) ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif) ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif) ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif)
Summarized cell ![No](/docs/02_Read-Me-First/images/loio5befb5af20ed42fd9052a99014d953a3_LowRes.gif) ![No](/docs/02_Read-Me-First/images/loio5befb5af20ed42fd9052a99014d953a3_LowRes.gif) ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif) ![No](/docs/02_Read-Me-First/images/loio5befb5af20ed42fd9052a99014d953a3_LowRes.gif)
Hierarchical data ![No](/docs/02_Read-Me-First/images/loio5befb5af20ed42fd9052a99014d953a3_LowRes.gif) ![No](/docs/02_Read-Me-First/images/loio5befb5af20ed42fd9052a99014d953a3_LowRes.gif) ![No](/docs/02_Read-Me-First/images/loio5befb5af20ed42fd9052a99014d953a3_LowRes.gif) ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif)
Large number of rows \(\> 200\)2 ![Partly](/docs/02_Read-Me-First/images/loio3ea53dcd3acc4783a7a4b83e10c8f1aa_LowRes.gif) ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif) ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif) ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif)
Grouping ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif) ![No](/docs/02_Read-Me-First/images/loio5befb5af20ed42fd9052a99014d953a3_LowRes.gif) ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif) ![No](/docs/02_Read-Me-First/images/loio5befb5af20ed42fd9052a99014d953a3_LowRes.gif)
Freeze columns ![No](/docs/02_Read-Me-First/images/loio5befb5af20ed42fd9052a99014d953a3_LowRes.gif) ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif) ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif) ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif)
Horizontal scrolling ![No](/docs/02_Read-Me-First/images/loio5befb5af20ed42fd9052a99014d953a3_LowRes.gif) ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif) ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif) ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif)
Merge duplicates ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif) ![No](/docs/02_Read-Me-First/images/loio5befb5af20ed42fd9052a99014d953a3_LowRes.gif) ![No](/docs/02_Read-Me-First/images/loio5befb5af20ed42fd9052a99014d953a3_LowRes.gif) ![No](/docs/02_Read-Me-First/images/loio5befb5af20ed42fd9052a99014d953a3_LowRes.gif)
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 ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif) ![No](/docs/02_Read-Me-First/images/loio5befb5af20ed42fd9052a99014d953a3_LowRes.gif) ![No](/docs/02_Read-Me-First/images/loio5befb5af20ed42fd9052a99014d953a3_LowRes.gif) ![No](/docs/02_Read-Me-First/images/loio5befb5af20ed42fd9052a99014d953a3_LowRes.gif)
Column-based ![No](/docs/02_Read-Me-First/images/loio5befb5af20ed42fd9052a99014d953a3_LowRes.gif) ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif) ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif) ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif)
Cell selection ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif) ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif) ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif) ![Yes](/docs/02_Read-Me-First/images/loio3cb17ee88aed44d2bf1d14b97728c709_LowRes.gif)

Legend:

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:

For more information, search for loading items and performance in the responsive table section in the SAP Fiori Design Guidelines.


Table (sap.ui.mdc)

(sap.ui.mdc.Table)

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.