cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Add Rows Dynamically in Table using XML

vijay_kumar49
Active Contributor
0 Likes
390

Hello Team,

I have one requirement in XML View as per below screen shot.

  1. My requirement is add rows dynamically when I click on “Add Rows” Link (UI Element) In UI Screen. All cells is in Editable Mode.
  2. When click on “Get Data” button. I need to read the data from the row and sent it to OData Service.

Please help me on XML Code

Regards

Vijay K

Accepted Solutions (0)

Answers (2)

Answers (2)

junwu
SAP Champion
SAP Champion
0 Likes

your table bind to odata model? if yes, so far no( easy )way to do it.

if it is json model, you just push one record to the model, it will be done.

vijay_kumar49
Active Contributor
0 Likes

Junwu and

Sai Pls help me on below requirement

1.     Table doesn't have any data. Its simple sap.m.Table.

2.     Using the Table we need to send Multiple Line Items data to OData Service.

So Initially i need display 10 Empty Rows and 1st Cell having Value Help Functionality

Please look at Image having my Requirement. Pls help me. I am using WEBIDE with XML View.

Regards

Vijay

agentry_src
Active Contributor
0 Likes

Hi Vijay,

Where have you looked for information?  There appears to be quite a bit of information on the addition of rows to tables for SAPUI5.  Google Custom Search may make it easier to sort the good stuff out from the bad.  Please post which items you have already checked.

Regards, Mike (Moderator)

SAP Technology RIG