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

Re: How to merge new entry into json model?

$
0
0

Hi Dennis,

 

Thanks for your example.

Just one additional question:

 

I created sap.m.Table. And I bind model to items once in the onInit method.

It just doesn't work If I only push the new entry and without bindItems again, the new entry won't display in the table. UI just won't refresh.

table.getModel().getData().push(newEntry);

 

Why it's necessary to call bindItems method everytime there's new entry gets inserted?

This really bothers me a lot!

 

Regards,

Aaron.


Viewing all articles
Browse latest Browse all 9656

Trending Articles



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