Skip to Content

Display columns of exapnded entity in smart table

May 08, 2017 at 09:02 AM


avatar image
Former Member

I am using a smart table and want to display columns from two entities which are linked through association.

In the smart table I have set the entity set of the main entity:


and I have added the following code:

onBeforeRebind: function(oEvent) {
var mBindingParams = oEvent.getParameter("bindingParams");
    mBindingParams.parameters["expand"] = "EquipmentCharacteristicsSet";

which triggers on "beforeRebindTable" table's event.

In the gateway it calls the getExpandedEntitySet fine and fetches all the data but in the smart table I can only see columns that are coming from the first entity which is set using the entitySet parameter. How can I display columns from the second entity as well?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Jamie Cawley
May 08, 2017 at 03:42 PM

You can add a custom column to show the value as shown at

Should be something like

<Column width="100px" hAlign="Left">
<core:CustomData key="p13nData" value='\{"columnKey": "Navpath/Column", "maxLength": "5","columnIndex":"4", "leadingProperty": "Navpath/Column"}' />
<Text text="Column" />
<Text text="{Navpath/Column}" />



SAP - Technology RIG

10 |10000 characters needed characters left characters exceeded