cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hey guys,

I am building a fiori list report app with ABAP CDS VIEW. The cds view uses sorting, grouping and aggregation annotations, therefore the type of the table is Analytical.

When running the app from SAP WEB IDE I have this result:

I would like to know if there is a way we can optimize the column width, so that the width depends on the content of each field? A functionality that for now, I have it only if I double click on each column separator.

My manifest.json file of the app looks like this:

manifest.png

Thanks 🙂

0 Likes
View Entire Topic
abhishekanand12
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello Bleona,

Please refer to the following documention related to table column width: https://sapui5.hana.ondemand.com/#/topic/a76525362b754354a85981a7389ca7af

Regards,

Abhishek

RaminS
Active Participant
0 Likes

Abhishek,

I don't want to set the width of each column individually, I want all the columns to be optimized. Shouldn't that be the default behaviour?

It really makes for bad usability for Grid-table, when you don't see some of the columns, instead you see a lot of empty spaces in the first couple of columns.

Looping through each column and setting them optimized in an extension to a List Report template is not really ideal.