cancel
Showing results for 
Search instead for 
Did you mean: 

More columns in sap.m.Table

tezk
Participant
0 Kudos

Hi,

I have to include around 15 columns in sap.m.Table. But it's not displaying the data as expected. It's reducing the column width. I see we can use sap.ui.Table. But in future we are going to make this app to work in mobile as well. So I think it's better to with sap.m.Table only. Could you please let me know how can I achieve the above behavior.

Accepted Solutions (0)

Answers (2)

Answers (2)

ThorstenHoefer
Active Contributor
0 Kudos

Hi tezk,

please check the sap.m.Table properties autoPopinMode or fixedLayout

Kind RegardsThorsten
chandan_singh9
Explorer
0 Kudos

Did you try using demandPopin along with screenWidth? I believe sap.m.Table will not add a scroll bar for the columns and tries to fit everything in the screen size available. Other option would be to use sap.ui.table.Table on desktop and sap.m.Table on phones. Another option could be to use smart table and change tableType dunamically based on the device.