`sap.ui.webc.main.Table` vs. `sap.m.Table` vs. `sap.ui.table.*Table`: Which One Should I Choose?
See original GitHub issueIn the documentation there is a great article «Tables: Which One Should I Choose?» with a comparison table and main use cases when each type of table is an option choice. However, this table doesn’t cover relatively recently added sap.ui.webc.main.Table
.
The questions:
- Is
sap.ui.webc.main.Table
intended to replace the previously added table classes? - What are the benefits of using
sap.ui.webc.main.Table
over the rest UI5 table classes? - Is there any preference to use one table class over another for the future development? In other words, are there any plans to replace
sap.ui.table.Table
withsap.ui.webc.main.Table
or something similar?
Thanks.
P.S. This issue can be perceived as suggestion to elaborate the «Tables: Which One Should I Choose?» article and to address sap.ui.webc.main.Table
as well.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
SAP UI5 data tables compared: sap.m.Table vs. sap.ui.table ...
Technically, the two table controls are extremely different. While the ui-table is a typical data table with rows and columns, the m-table is ......
Read more >Tables: Which One Should I Choose? - SAPUI5 SDK
The table below outlines which table controls are available, and what features are ... Responsive Table (sap.m.Table). Grid Table (sap.ui.table.Table).
Read more >rendering m table vs ui table - SAP Community
Definitely ui.table when it comes to more number of items. m.table, generates new items(in dom) and it keeps on increasing with no of ......
Read more >SAPUI5 Responsive Table sap.m.Table. Comparison with sap ...
sap. m. Table control and its responsive behavior. Comparison between sap. m. Table and sap. ui. table. Table.Specific properties which enable ...
Read more >Table sap.m.Table in SAPUI5 - Saplearners.com
Both UI controls are used for creating tables in SAPUI5 application with subtle difference. As the namespace tells that sap.m.Table is used in ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @pubmikeb,
This answer might help: https://stackoverflow.com/a/56136611/5846045
See Peter’s comment at https://blogs.sap.com/2022/03/10/ui5-web-components-enablement-for-openui5-sapui5/#comment-620432 While
sap.ui.webc
controls are still experimental, you’re highly welcome to try them and to give feedback!Hi @pubmikeb ,
the
sap.ui.webc.main.Table
control is part of the UI5 Web Components enablement of OpenUI5. This means the UI elements developed as UI5 Web Components will be wrapped as UI5 controls and can be used natively in OpenUI5. More details about this can be found here: https://blogs.sap.com/2022/03/10/ui5-web-components-enablement-for-openui5-sapui5/The UI5 Web Components will be the future direction of writing UI elements in a framework agnostic way and currently the enablement is experimental. The APIs are not yet perfect for the usage in OpenUI5 and requires some more massage. As of today, most of the UI5 Web Components control wrappers are just 1:1 wrappers and there is work in progress to ensure a proper usage within OpenUI5 with databinding support. The UI5 Web Components APIs are more classic web development (HTML) centric.
But my blog post linked above will hopefully shed more light…
Independent from that, you are right that the documentation «Tables: Which One Should I Choose?» should be updated once the
sap.ui.webc.main.Table
is not experimental anymore.