Hi Guys,
We have objects/Items in our main view (screenshot nr.1). How Can I put these into an array?
var remainingItems = [];
remainingItems = remainingItems.this.byId("table").getItems();
if (remainingItems.length > 0){
var odialog1 = new sap.m.Dialog({ title: 'Achtung', type: 'Message', content: [ new sap.m.Label({ text: 'Noch X Tickets sind nicht erfasst! Fehler: XXX' }) ],
this is just a part of the code
It doesnt work!
I want to count, if there are objects in the view, then it should appear a Popup.
I hope you can help me.