We use rich:orderingList with the following attributes listHeight=”auto” listWidth=”auto”, this causes it to auto re-size and if there are smaller strings within the list, the list width is very small. We would prefer to have a minimum size for smaller strings and should change to auto for larger strings. How do we achieve this?
We use rich:orderingList with the following attributes listHeight=auto listWidth=auto, this causes it to auto
Share
You can set the width each column separately and with EL expression set width either fixed size or auto.
So if for example your Item value is of type
StringAnother option is through
columnClassesproperty of rich:orderingList. You can define in the backing bean the CSS classes considering the maximum width of each String, and using it as ELExperssion:columnClasses="#{myBean.columnWidth}"