Question
Accenture
IN
Last activity: 21 Nov 2018 5:14 EST
Wrap in Autocomplete field
Hi all,
Can you let me know if we can wrap the content in the autocomplete field values?
Thanks in advance.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
US
Please check below pdn link:
https://collaborate.pega.com/question/how-wrap-text-autocomplete-column-property-repeat-grid-layout
I just did a search. It seems that this is currently not supported. An enhancement request was raised before.
Areantans
AU
please check the below support article
https://community.pega.com/support/support-articles/wrap-text-not-working-repeat-grid
Pegasystems Inc.
US
Can you try using below CSS attribute and check if this works.
#id{
word-wrap: break-word;
}
Accenture
IN
Hi both,
Tried both the options but it didn't work. Values got truncated as attached in the screenshot but didn't get wrap. Any other suggestions please!!!
Thanks
Pegasystems Inc.
US
You could also try the following on the class/id selector which you want to wrap:
overflow-wrap: break-word;
word-break: break-word;
Couple more styles you would need to add on top those mentioned are the width and display. Width need to be specified so that wrapping takes place based on its value. You could set display as "table-cell" if that fails try "block". So at the end your css would look something like:
.class {
}
Accenture
IN
Thank you Chitra.. Will try out the approach you mentioned.