on 2025 Jan 21 1:36 AM
I have a field in a CAP application which has a value help popup. I'm able to change certain things which appear in the value help popup using annotations, such as which fields are displayed, like this:
annotate service.CurrencyConversion with {
fromCurrency
@Common.ValueList: {
Label : 'From Currency',
CollectionPath : 'Currencies',
Parameters : [
{
$Type : 'Common.ValueListParameterInOut',
LocalDataProperty : 'fromCurrency_code',
ValueListProperty : 'code',
},
{
$Type : 'Common.ValueListParameterDisplayOnly',
ValueListProperty : 'descr'
}
],
}
};However, I have not been able to change the widths of the displayed columns. I would like to make them wider so that the column labels can be seen.
A similar example can be seen in this learning Journey (Enriching Value Help with Dependent Filtering). My own example is similar to the screenshot below, where the first column is too narrow to see the entire column label. However, I have not found a way to increase the width of the column. Is anyone familiar with how to do this?
Through some searching I have found potential options, like using the annotation ![@HTML5.CssDefaults] : {width : '10rem'} (Setting the Default Column Width | SAP Help Portal), however this does not appear to work with value help tables. I also looked into setting the width in the manifest (Setting the Default Column Width - Documentation - Demo Kit - SAPUI5 SDK), however this also does not appear to be relevant for value help popup tables. Any help would be appreciated.
Request clarification before answering.
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.