cancel
Showing results for 
Search instead for 
Did you mean: 

hflex="min" in the listview is not working as mentioned in the SAP document

riazmohamed
Explorer
0 Kudos
477

We are upgrading our Hybris from 1811 to 2011 Hybris version,

in 1811 version when we use hflex="min" in the list view like below

<context type="LogoMedia" component="LogoMedia-listview">
        <list-view:list-view xmlns:list-view="http://www.hybris.com/cockpitng/component/listView">
            <list-view:column qualifier="preview" spring-bean="previewListCellRenderer" label="" width="90px"/>
            <list-view:column qualifier="assetId" hflex="min" spring-bean="ExtendedCellRenderer"/>
            <list-view:column qualifier="logoType" hflex="min" spring-bean="ExtendedCellRenderer"/>
            <list-view:column qualifier="motif" hflex="min" spring-bean="ExtendedCellRenderer"/>
            <list-view:column qualifier="createdDAM" hflex="min" spring-bean="ExtendedCellRenderer" />
            <list-view:column qualifier="expiresDAM"  hflex="min" spring-bean="ExtendedCellRenderer" />
            <list-view:column qualifier="pull"  label="media.pull.label" hflex="min" spring-bean="mediaPullStatusRenderer" />
        </list-view:list-view>
    </context>

it was displaying like below with scrollbar and without truncating any text in the listview like Motif column

but after the upgrade to 2011 scrollbar is missing and texts are truncated with ellipsis like below for some of the columns

In this sap help document clearly defined like below

@hflex(java.lang.String): It allows to resolve the width of a column dynamically. Possible values: values provided by ZK Framework, the most important are:

  • min: Column size is at least as wide as the widest value in a column, therefore full content of the columns is always displayed.

Anybody know why hflex="min" is not working anymore in 2011 hybris version or how to fix this issue to display listview without truncating the text.

Thanks in advance

Accepted Solutions (0)

Answers (0)