on 04-06-2021 12:28 PM
Hello everyone,
I am currently working on a Fiori Elements Application inside a CAP Project.
While using the List Report and Object Page Template with OData V2, I am having a problem that the columns in the List Report table are somehow loaded with a fixed width:
The error occurred even without any annotations!
Has anyone of you had the same issue?
Thanks in advance!
Best regards,
Lukas
Hi Lukas,
seems that with SAPUI5 1.87 the parameter enableAutoColumnWidth isn't experimental enymore. Please check What's New in SAPUI5 1.87. But at least for the column "Workplace max Am..." that doesn't look correct.
Best regards
Gregor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi lukasmetzger & gregorw ,
did you find a solution for this problem (automatic column width in OData v2 with Fiori Elements)? I just found the following Description of Changes for Responsive Table, but currently there is not a Guided Development in BAS available and the linked example for SAP UI5 is a controller implementation which I would like to avoid. I tried different positions for this code snippet "enableAutoColumnWidth = "true" " but I guess I still didn't find the correct one!
I hope you can help me 🙂
Kind Regards,
Vivienne
FE LROP/ALP applications with responsive tables columns can now have an appropriate default width(enableAutoColumnWidth=true). Additionally, the end-user gets an option to resize the column width by click and drag.
The default column width can be annotated with HTML5.v1.CssDefaults Annotation for each fields in Lineitem.
Example:
<Annotation Term="com.sap.vocabularies.HTML5.v1.CssDefaults">
<Record>
<PropertyValue Property="width" String="10rem" />
</Record>
</Annotation>
As a consequence of the above change, responsive tables with fewer columns might see a visible change of table not occupying complete available space. This is the expected behavior as per the Design concept.
However, this will not have any impact on the functional behavior. Tables with more columns may not observe visual change as they occupy the available section width.
Ex: Table with only 3 columns launched in big screen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.