XML.VIEW
<t:Table id ="supplieTable" rows = "{/results/0/AP_CRE_LISTSet/results}"
enableBusyIndicator = "true" enableSelectAll = "false" navigationMode = "Paginator"
visibleRowCount = "6" firstVisibleRow = "3" selectionMode = "Single" rowSelectionChange = "action" >
<t:Column autoResizeable = "true">
<Label text = "Doc.number"/>
<t:template><c:TextField value = "{BELNR}" /></t:template>
</t:Column>
<t:Column autoResizeable = "true">
<Label text = "Vendor" />
<t:template><c:TextView text = "{LIFNR}" /></t:template>
</t:Column>
<t:Column autoResizeable = "true">
<Label text = "Posting Date" />
<t:template><c:TextView text = "{BUDAT}" /></t:template>
</t:Column>
<t:Column autoResizeable = "true">
<Label text = "Account" />
<t:template><c:TextView text = "{BNUMB}" /></t:template>
</t:Column>
<t:Column autoResizeable = "true">
<Label text = "Amount" />
<t:template><c:TextView text = "{WRBTR}" /></t:template>
</t:Column>
<t:Column autoResizeable = "true">
<Label text = "Tax" />
<t:template><c:TextView text = "{AWTYP}" /></t:template>
</t:Column>
<t:Column autoResizeable = "true">
<Label text = "Text" />
<t:template><c:TextView text = "{LTEXT}" /></t:template>
</t:Column>
<t:Column autoResizeable = "true">
<Label text = "Progress" />
<t:template><c:TextView text = "{CSTEX}" /></t:template>
</t:Column>
</t:Table>
Controller.js
action: function(oEvent) {
var text = oEvent.getParameters();
var hello = oEvent.getProperty("/BNUMB");
var page = sap.ui.view({
viewName : "e-accounting.Dashboard",
type : sap.ui.core.mvc.ViewType.XML
});
app.addDetailPage(page);
app.toDetail(page);
}
this is not working please help me seniors!!