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