Quantcast
Channel: SCN : Discussion List - SAP Fiori
Viewing all articles
Browse latest Browse all 1804

Adding Blank rows to the table in add new row button

$
0
0

Dear Experts,

 

I am trying to achieve the add new blank row by pressing a ann new row button.

 

I have done it with the help of add item method of the table.

 

I need  suggestion on this , can we call the table and colummn list template in my controller and do the additem and passing the template

reference to it?I have tried this but iits not working for me.

 

as for example :

 

oTable.addItem("Columnlist template") - this is not working

 

where as oTable .addItem(new sap.m.input etc etc) - this code works perfectly.

 

Since i already have a template in my view so i want to reuse it by calling in controller but however am not able to achieve this.

 

Kindly suggest.

 

regards,

Vikash


Viewing all articles
Browse latest Browse all 1804

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>