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

Re: Vertical scrolling of sap.m.List

$
0
0

Hi,

 

sorry, I do not get jsbin to work...

I just posting my SplitApp code below.

I think the problem is, that my splitapp lives in a sap.m.Page with a custom header and footer.

The height of the header and the footer will be missing in the height of my list within the master page of the splitapp.

 

Solution would be to add the customer header to the splitapp itself --> not supported...

And ideas?

 

 

I also add the complete code of this example app.

 

Jens

 

 

 

sap.ui.jsview("view.MySplitApp", {

 

 

  getControllerName: function() {

  return null;

  },

 

  createContent: function(oController) {

 

  this.setDisplayBlock(true);

 

  // create app

  var app = new sap.m.SplitApp();

 

  app.addDetailPage(sap.ui.jsview("view.Startpage", "view.Startpage"));

  app.addMasterPage(sap.ui.jsview("view.Liste", "view.Liste"));

 

  app.toDetail("view.Startpage");

  app.toMaster("view.Liste");

 

 

 

 

 

  return new sap.m.Page({

            showHeader: true,

  title: "My Header",

            content: [

                    app

            ],

  customHeader: new sap.m.Bar({

  contentMiddle: [new sap.m.Label({text: "My Header"})],

  }),

  footer: new sap.m.Bar({

  contentMiddle: [new sap.m.Label({text: "My Footer"})],

  }),

        });

 

 

 

 

  }

});


Viewing all articles
Browse latest Browse all 8902


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