smarttable

How to create SAP UI5 Smart table with OData model

This post contains the XML View code and the important controller code to create the sap ui5 smart table with OData service of type sap.ui.comp.smarttable by setting the OData model on the smart table XML View code below shows the Smart table being created OData model is set on the view as shown below

Dynamic field control annotations

How to use dynamic field control annotations in SAP UI5

Sap dynamic field-control annotation is used to dynamically change the behaviour of the UI.  The metadata generated is used to interpret and change the state of the UI control to visible,editable etc. The following needs to be defined in order to use field control annotations Smartfield in Smart Table <core:View xmlns:core=”sap.ui.core” controllerName=”initialView.controller” xmlns=”sap.m” xmlns:smart=”sap.ui.comp.smarttable” xmlns:customData=”http://schemas.sap.com/sapui5/extension/sap.ui.core.CustomData/1″ …

How to use dynamic field control annotations in SAP UI5 Read More »