Skip to Content
0
Aug 03, 2023 at 05:07 PM

Fiori Elements - Custom Logic When a FacetTable is Loaded or Refreshed

71 Views Last edit Aug 10, 2023 at 08:32 AM 4 rev

Hi,

I am trying to attach an event to a Facet after the Table is loaded.

Tried using onAfterHandler in Object Page Extension API. I am not able to get the Control details using below statement.

sap.ui.getCore().byId('awa.dom.ui.docketing::IncomingCorrespondenceObjectPage--fe::table::allContent::LineItem-innerTable')

I am able to reach only till LineItem as below.

sap.ui.getCore().byId('awa.dom.ui.docketing::IncomingCorrespondenceObjectPage--fe::table::allContent::LineItem')

I will not be able to attach my custom event to LineItem. I need a way to attach it to innerTable.

Can you let me know how can I do this. Looking for something similar to below documentation which is applicable only to oData v2.

https://sapui5.hana.ondemand.com/#/topic/382a6c39fd494c12a4ee23c8659909bd.