cancel
Showing results for 
Search instead for 
Did you mean: 

sap list title is not showing fully

Former Member
0 Kudos

iam using sap.m.list .in the StandardListItem title is not showing fully.

var oList = new sap.m.List({ inset : false });

  var itemTemplate = new sap.m.StandardListItem({

               title : "{subject} reached of {workitem_id} blalbaljf jaflsalfjiosl",

               info:"{workitem_id}",

               description:"{workitem_id}",

               icon:"sap-icon://log"

           });

  oList.bindItems("/Products", itemTemplate);

  this.page = new sap.m.Page({

  title : "table",

  showNavButton: true,

  navButtonTap:[ controller.navButtonTap, controller ],

  content: [oList],

  headerContent: [new sap.m.Button({

                 text : "logout",

                 icon: "sap-icon://log",

                 tap:

  [controller.logOut, controller]

                          })

  ]

  });

  return this.page;

  }

what i need is  i need to show list title in two lines according to mobile device width..

dont forget to add

<script id="sap-ui-bootstrap"

  type="text/javascript"

  src="./resources/sap-ui-core.js"

  data-sap-ui-theme="sap_mvi"

  data-sap-ui-libs="sap.m,sap.makit"

  data-sap-ui-xx-bindingSyntax="complex">

  </script>

to the index.html

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Could you create a demo to show what the problem is on JSBin or JSFiddle? Will make it easier for people to help you out.

Regards,

Pritin