cancel
Showing results for 
Search instead for 
Did you mean: 

Add an empty row to a responsive table sapui5

mr22
Advisor
Advisor
0 Kudos

Hi Team,

I have created a responsive sap.m.table in my custom UI5 app. As per the requirement, the user will fill data into this table, which will be further saved to the backend for further processing.

I also, need to provide an option to add new rows to the table. I have added the code in 'onAddRow' method. But is there a better way to do it?

img-20221205-wa0024.jpgimg-20221205-wa0023.jpgimg-20221205-wa0022.jpgimg-20221205-wa0021.jpg

View Entire Topic
rabipanda
Explorer
0 Kudos

you can add an empty row to the table model object and then use model refresh(true)