Skip to Content
avatar image
Former Member

ObjectAttribute width in ObjectListItem

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 07, 2016 at 04:01 AM

    Hi Rachel,

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

    Regards,

    Sai.

    Add comment
    10|10000 characters needed characters exceeded