Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

Table - add row dynamically, formatter issue

$
0
0

Hello Experts,

 

I'm having a table in my SAPUI5 application.

 

The table has an "Add Row" button in each row which supposed to insert a new row below the current row.

 

If I'm not using a formatter function it works but if I'm using a formatter there is a strange behavior, see screenshots:

 

1. Initial View

2. Added 2 (empty) rows

3. Enter values in the rows

4) When pressing the "+" I'm expecting that both "3" and "4" will go down but only "3" goes down.

 

jsbin:

http://jsbin.com/papata/1/edit?html,output

 

If I'll comment the formatter function it'll work.

 

What am I doing wrong?

 

Regards,

Omri


Viewing all articles
Browse latest Browse all 6178

Trending Articles



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