Hi,
I want to add data to the table model that has already been recovered in the component.js
odata in this model using the method expand_entity, loading all tables.
step as the recovered data is viewed in the image I want to pass data to the table that are under charasteristicSet.
The idea is not to make a get to the gateway to retrieve the data.
Code:
var tableOperaciones= this.getView().byId('idoperaciones');
var operaciones = "/OperationsSet(Insplot='" + sObjectId + "',Inspoper='0010')"; //OperationsSet(Insplot='000000000001',Inspoper='0010')
tableOperaciones.setModel( this.getModel());
tableOperaciones.bindElement(operaciones);
View
<Table id="idoperaciones" inset="true" >
<columns>
<Column width="3em">
</Column>
<Column>
<Text text="{i18n>multi.summary.title}" />
</Column>
<Column minScreenWidth="Tablet" demandPopin="true">
<Text text="{i18n>multi.summary.createdBy}" />
</Column>
<Column minScreenWidth="Tablet" demandPopin="true">
<Text text="{i18n>multi.summary.dueDate}" />
</Column>
</columns>
<items>
<ColumnListItem vAlign="Middle" id="LIST_ITEM">
<cells>
<Text text="{TxtOper}"/>
</cells>
</ColumnListItem>
</items>
</Table>