Skip to Content
0

ObjectAttribute width in ObjectListItem

Dec 06, 2016 at 01:36 PM

88

avatar image

Hello all Experts,

I am new to sapui5.

i have an application with Master -Detail template .

In the side of split-screen layout where i see the list of items,

For each items i see additional data,the problem is that in tablet devices

i see some data with dots instead of all the data.

how can i force it to show more data.

Any help will be appreciated.

Thank You.

Master view xml

<items>
  <ObjectListItem
	title="{ID}"
        icon="{
		path : 'PictureUrl'						
	      }"
	number="{Amount}"
	numberUnit="{CurrencyCode}"
	type="{device>/listItemType}" >
	<attributes>
	<ObjectAttribute
	    text="{CreatedByName}" />
	<ObjectAttribute
	    text="{OrderCreDate}" />
	<ObjectAttribute
	    text="{OrderDirection}"
	    width='50rem' />	                         
	</attributes>


master-detail.png (43.7 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Sai Vellanki Dec 07, 2016 at 04:01 AM
0

Hi Rachel,

Please check my response in this thread: Text wrap in ObjectAttribute in ObjectListItem in sap ui5

Regards,

Sai.

Share
10 |10000 characters needed characters left characters exceeded