![]() Open the and add this code in the file and save it. I have a smart template application created in SAP Web IDE with an Odata service, also it has a list view and an object page.įor the table in the List Report I would like to add a new custom column which has sap.m.Input in the cells.įirst step to start is to create the extension files under the folder “ext” as shown below: īasically for extending a column of a responsive table we have to follow particular patterns for List Report and Object Page.i.e If we need to extend a column in Object page we have to configure the manifest.json in a different way when compared to the table in a List Report page which I will explain in a later step. Basic UI5 knowledge on XML fragments, JS Views.To know to concept of Annotations in smart template.To know how to create a smart template application in Web IDE.In a Smart template applications the UI.LineItem annotation will generate a Smart table which will internally have a responsive table with the columns having read only fields like Label, Text or ObjectHeader. So if there is a requirement to have a input box as column cells or may be toggle button or any other custom control of design choice, then we need to add a new custom column for the Smart table of the Smart template application.īefore going through this blog, prerequisites for the UI5 / Non UI5 developers should be : ![]() Hence I felt like going for a blog on this.īefore we go into the detail, Why do we need a custom column in a responsive table of smart template application ? While working with smart template apps, I had a requirement to add a new custom column in a responsive table under List Reports and Object Pages, So I had understand the concept a little deeper and implement it. In my previous blog ( link) I explained How to add extension points to smart template application using ReplaceFacet via breakouts.
0 Comments
Leave a Reply. |