Live Update the Number of Items

前端 未结 2 606
心在旅途
心在旅途 2020-12-01 17:41

I have a requirement where I need to live update the number of list items to Page\'s sub-header. I want use sap.ui.base.EventProvider, aggregation binding, or e

2条回答
  •  温柔的废话
    2020-12-01 18:05

    I will guess that "MyListModel" is your model name and inside it you have something like this:

    [
      {objectName: "object1"},
      {objectName: "object2"},
      {objectName: "object3"}
    ]
    

    Then try:

    
    

提交回复
热议问题