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

Best way to wrap text in UI5 table

$
0
0

I have some very long texts needs to be wrapped in a UI5 table cell. If I do not do anything, then only part of the string is showing up. Is there a way, that I can wrap text in table cell, like the wrapping in Excel?

 

I added the column with below javascript:

oTable.addColumn(new sap.ui.table.Column({  label : new sap.ui.commons.Label({  text : "Type"  }),  template : new sap.ui.commons.TextField({editable:false}).bindProperty("value",  "Type"),  sortProperty : "Type",  width : "10px"  }));

 

Thank you.

 

Regards, Yashu


Viewing all articles
Browse latest Browse all 3523

Trending Articles



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