I have a few p:autoComplete
s in upper part of the page, these need to be wide. In the bottom of the page there is a p:dataTable
with editable values. In one column data is edited with p:autoComplete
. These need to be narrow and because table can have many rows there can be any number of these. All autocomplete elements have multiple="true"
attribute set.
Setting width for CSS class .ui-autocomplete-multiple-container
would affect also the autocomplete elements in upper part of the page. How do I set width only for autocomplete elements in data table?
Edit:
Here is a very good summary about the topic but it does not address the case where any amount of autocomplete elements exist in data table and width of only those autocomplete elements must be changed.