Skip to Content
0
Dec 04, 2014 at 10:02 AM

sap list title is not showing fully

50 Views

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