I'm having an issue with the grid where if I have a string of text with newline characters and leading spaces on the following line, then if the column is at a certain width, the ellipsis is not being displayed. The text trimming is set to EllipsisWordWithLineLimit. Please see the screenshot:
The full text in the cell is below. Each line starts with 3 spaces. Isolation Type: CONTACT; Indication for Isolation: Rotavirus Isolation Type: CONTACT; Indication for Isolation: RSV Isolation Type: CONTACT; Indication for Isolation: Scabies Isolation Type: CONTACT; Indication for Isolation: Shingles Isolation Type: CONTACT; Indication for Isolation: VRE Isolation Type: AIRBORNE+CONTACT; Indication for Isolation: Disseminated Herpes Zoster Isolation Type: AIRBORNE+CONTACT; Indication for Isolation: SARS Isolation Type: AIRBORNE+CONTACT; Indication for Isolation: Smallpox Isolation Type: DROPLET; Indication for Isolation: Flu/H1N1 Isolation Type: DROPLET; Indication for Isolation: Diptheria Isolation Type: DROPLET; Indication for Isolation: Meningocococcemia Isolation Type: DROPLET; Indication for Isolation: Mumps Isolation Type: DROPLET; Indication for Isolation: Meningitis, Bacterial Isolation Type: DROPLET; Indication for Isolation: Pertussis Isolation Type: DROPLET; Indication for Isolation: Rubella Isolation Type: DROPLET+CONTACT; Indication for Isolation: Rule Out Flu/RSW Isolation Type: CONTACT; Indication for Isolation: Rotavirus Isolation Type: CONTACT; Indication for Isolation: RSV Isolation Type: CONTACT; Indication for Isolation: Scabies Isolation Type: CONTACT; Indication for Isolation: Shingles Isolation Type: CONTACT; Indication for Isolation: VRE Isolation Type: AIRBORNE+CONTACT; Indication for Isolation: Disseminated Herpes Zoster Isolation Type: AIRBORNE+CONTACT; Indication for Isolation: SARS Isolation Type: AIRBORNE+CONTACT; Indication for Isolation: Smallpox Isolation Type: DROPLET; Indication for Isolation: Flu/H1N1 Isolation Type: DROPLET; Indication for Isolation: Diptheria Isolation Type: DROPLET; Indication for Isolation: Meningocococcemia Isolation Type: DROPLET; Indication for Isolation: Mumps Isolation Type: DROPLET; Indication for Isolation: Meningitis, Bacterial Isolation Type: DROPLET; Indication for Isolation: Pertussis Isolation Type: DROPLET; Indication for Isolation: Rubella Isolation Type: DROPLET+CONTACT; Indication for Isolation: Rule Out Flu/RSW
Can anyone help with this? Our clients are complaining about this as they can't tell if there's more information to be seen.
Hello,
I wanted to know if you were able to solve your issue based on these suggestions or you still need help. Please let me know.
I've gone through the enum of TextTrimming values and EllipsisWordWithLineLimit is what I need. None of the other values would be suitable.
Is there a way to manually do the text trimming? If there was a way to determine how much text is actually displayed so I can add the ellipsis myself?
I did try EllipsisCharacterWithLineLimit for the TextTrimming mode and the bug does not appear. Any idea why that mode would work but EllipsisWordWithLineLimit does not?