Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9052

Taking values from a table in UI5 and passing to backend

$
0
0

Hi all,

I am new to UI5 and got to work on a survey portal which accepts survey inputs from user. I have designed as below:

elf_screen.PNG

I have  a dataset for questions:

var qData = [

            

              //q1:document.write('<font color = "red">Compeleteness of deliverables</font>' + " related to business and system requirements"},

              {Question:"Compeleteness of deliverables related to business and system requirements",rating:"",remarks:""},

              {Question:"Quality of the product delivered Defect-free, " +

              "Performance, Ease of Use and Maintenance Portability, Scalability",rating:"",remarks:""},

              {Question: "Quality of documentation",rating:"",remarks:""},

              {Question: "Risk/Issue Management capability",rating:"",remarks:""},

              {Question:"Adherence to Service Level Agreements (SLA) including On-time delivery",rating:"",remarks:""},

              {Question: "Proactive communication on Progress",rating:"",remarks:""},

              {Question: "Delivery within the committed cost",rating:"",remarks:""},

              {Question: "Handling transition of resources",rating:"",remarks:""},

              {Question: "Commitment demonstrated by xxx team",rating:"",remarks:""},

              {Question: "Infosy team adapting to your culture",rating:"",remarks:""},

              {Question: "Ability/Effectiveness of Verbal communication",rating:"",remarks:""},

              {Question: "Ability/Effectiveness of Written communication",rating:"",remarks:""},

              {Question: "Domain knowledge",rating:"",remarks:""},

              {Question: "Technical expertise (Technical platform, Architecture, Tools and techniques)",rating:"",remarks:""},

              {Question: "Overall Satisfaction",rating:"",remarks:""}

                                      

              ];

 

 

And I have binded the table:

     var oModel = new sap.ui.model.json.JSONModel();

            oModel.setData({modelData: qData});

         oTable.setModel(oModel);

       oTable.bindRows("/modelData");

 

But actually I need to bind the text fields to pass these data to back end right? But how can I set another model to a table where I have already bound the model-qData

Confused and stuck

 

Any help will be appreciated.

 

Thanks,

Ashly


Viewing all articles
Browse latest Browse all 9052

Trending Articles



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