on 2023 Nov 07 6:47 PM
Hi Guys,
I added a custom section in SAP Fiori Element object page.
When clicking on list page table record, it navigates to object page onInit method and called the event attachPageDataLoaded. Here, I need to call the OData and set it to model and display the data in custom section table.
that.getView() is undefined and I am not able to get the view.
Kindly help.
Regards,
Tamilselvan
Request clarification before answering.
line 8, this.onLoadTableData.bind(this)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can try to use ownerComponent.
that.getOwnerComponent().setModel()
Or
that.getOwnerComponent().getView().setModel()
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
11 | |
9 | |
8 | |
7 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.