768
Views
3
Comments
Solved
[OutSystems UI Web] TextEllipsis missing in OutSystems UI Web
Question
outsystems-ui-web
Web icon
Forge asset by OutSystems

Hi,

It seems that the TextEllipsis component is not migrated from webpatterns to OutSystems UI Web. I notice that there is a class text-ellipsis. The downside of using css to truncate the data is that the full lengh of the string is sent to the client using an server action to truncate the string avoids this.

Best regards,

Paul

2022-01-13 11-39-41
Bernardo Cardoso
Staff
Solution

Hi Paul, 

In the meantime, we released the textEllipsis action on the OS UI Web.


Best regards,

Bernardo Cardoso

2021-02-26 15-02-11
Dinis Carvalho
Staff

Hi Paul,

Do you see a downside on loading the full string and using CSS to apply the ellipsis? Is the full sized string having impact on performance?

CSS allows for better usage of the screen since the truncate will adapt depending on the screen size, by doing it server side you always have to specify a length.

However, we can consider having the action back if we see value in it and the feedback is positive :)


UserImage.jpg
OldMVP

Hi Dinis,

I have a list with a large description up to 2000 chars. If I load the list without truncating It will sent all the data to the browser. Which I think is a drawback. As a workarround I created my own function to truncate the text. If there is not a huge support for it we should promote the css solution first.

2022-01-13 11-39-41
Bernardo Cardoso
Staff
Solution

Hi Paul, 

In the meantime, we released the textEllipsis action on the OS UI Web.


Best regards,

Bernardo Cardoso

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.