Showing results for 
Search instead for 
Did you mean: 

Right Alignment of Data in List Report using Fiori Elements

0 Kudos

right-alignement2.jpgHi experts,

I have a Fiori list report application with ABAP CDS Views with UI Annotations (UI.LINEITEM).

Is there any property to align the table data to left or right alignment?

Please suggest.

please find the attached screen shot where i need to display Hours i.e Data in Right Alignment

0 Kudos

I am also searching for this exact requirement. Did you find a solution?

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos


Is it possible to solve it in BAS or using UI annotation?

0 Kudos


You can achieve this by using SAPUI5 Visual Editor in WebIDE.

Step 1: Open your project in "SAPUI5 Visual Editor" mode

Step 2: switch on "Edit" mode, then select the required column header, then select the desired value on the property "H Align" on the right side panel (see picture below)

0 Kudos

Column : hAlign="Right"

0 Kudos

Greetings, kola chen.

Your answer is interesting.

You have a more complete example (a code fragment with more context) of where and how to use the annotation you point out.

For example, I don't know if that section of code goes in the manifest.json file or in a CDS annotation.