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"
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.
There definitely should be an option what happens when the text is too long to be pun into the textbox. Just like there is an option for this in CSS, named "text-overflow".
https://developer.mozilla.org/en-US/docs/Web/CSS/text-overflow
Now, it does not clip the text but removes the whole word when the space is not enough, which is even worse than clipping.
I will put it as capability request.
Hi Spartak,
Please feel free to open up an FR on the feedback portal for this functionality so that it may be reviewed by the development team - Progress® Telerik® Reporting Feedback Portal.