Request: Ability to show an ellipsis (...) in a text box when the text overflows the available space

0 Answers 22 Views
Rendering Report Designer (standalone) Styling
Top achievements
Rank 1
Ryan asked on 21 Oct 2021, 08:12 PM

Maybe this capability is already present, but, I am unable to find it.  When text overflows a text box and the text box is not allowed to grow, I need to be able to show an ellipsis or the remainder of the text that can fit. Currently the report removes all words that can not fit in the given area.

 It would be very helpful if we could set a few overflow options like "ellipsis", "truncate" (default), or "clip". Example

  • Original: "Hello Telerik Reporting"
  • Truncate: "Hello Telerik"
  • Ellipsis: "Hello Telerik Repo..."
  • Clip: "Hello Telerik Repor"



Telerik team
commented on 26 Oct 2021, 10:56 AM

Hi Ryan,

You can check the built-in Text functions. If you are missing functionality, you can add a comment to the New functions in the report designers feature request. When it comes to adding Ellipsis, you may use the following function as a workaround:

= Len("Hello Telerik Reporting") > 14 ? Substr("Hello Telerik Reporting", 0 , 14) + " ..." : "Hello Telerik Reporting"

Please, let me know if you have further questions.

No answers yet. Maybe you can help?

Rendering Report Designer (standalone) Styling
Asked by
Top achievements
Rank 1
Share this question