Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3228

Set TextArea in sap.m.ColumnListItem

$
0
0

Hello,

 

Im using sap.m.ColumnListItem to display few fields on screen.

is it possible to change the field "Wgbez" to be TextArea

and display the long text in 2 lines ?

the code is like this:

 

var oTemplate = new sap.m.ColumnListItem({
vAlign : "Middle",
type : "{type}",
cells : [
new sap.m.Text({
text : "{Wgbez}",
wrapping : false,
maxlines : "2"
}),
new sap.m.Text({
text : "{Maktx}",
wrapping : false,
maxlines : "2"
}),
new sap.m.Text({
text : "{Sernr}",
textDirection : "LTR",
wrapping : false
}), new sap.m.Image({
src : "{imageUrl}",
}), new sap.m.Text({
text : "{Num_days}",
textDirection : "LTR",
Width: "10px",
wrapping : false
}), new sap.m.Text({
text : "{Labst}",
Width: "15rem",
wrapping : false
}),
]
});

 

Thank you,

Amir


Viewing all articles
Browse latest Browse all 3228

Trending Articles



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