on 11-15-2023 11:50 PM
Hello SAP Community,
I've encountered an issue with the setStandardItemText
method in SAPUI5 version 1.118.0, where the title or text of the standard item in the Variant Management control is not being updated. This functionality worked in previous versions of UI5, but it seems to be behaving differently in the latest version.
Here's the relevant snippet of my code:
_getVariantManagement: function () {
return this._getSmartTable().getVariantManagement();
},
addVariantSettings: function () {
const variantManagement = this._getVariantManagement();
variantManagement.setStandardItemText(this.getI18nText("defaultVariant.currentDocuments"));
//...
}
I use _getVariantManagement
to retrieve the Variant Management control from a Smart Table and attempt to set the standard item text with setStandardItemText
. However, the text remains unchanged in the UI.
I am looking for insights on whether there's a new approach to updating the standard item text in this version of UI5 or if there are known issues or workarounds that I should be aware of.
Any suggestions or guidance from the community would be greatly appreciated.
Thank you!
User | Count |
---|---|
77 | |
9 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.